summaryrefslogtreecommitdiffstats
path: root/abs/extra
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-11-11 15:19:51 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-11-11 15:19:51 (GMT)
commit7938c8e91741003d9b87347311f36c6c9cc24dea (patch)
treec9fa2dff543f1377f0053bf7c94ee490261dd039 /abs/extra
parent7effbc65b427f6590dd9112b1fa08b7a1c9628b4 (diff)
downloadlinhes_pkgbuild-7938c8e91741003d9b87347311f36c6c9cc24dea.zip
linhes_pkgbuild-7938c8e91741003d9b87347311f36c6c9cc24dea.tar.gz
linhes_pkgbuild-7938c8e91741003d9b87347311f36c6c9cc24dea.tar.bz2
removed a bunch of duplicates
postgresql samba cups libmng xorg-utils-macro java
Diffstat (limited to 'abs/extra')
-rw-r--r--abs/extra/java-sun/PKGBUILD123
-rw-r--r--abs/extra/java-sun/java-control-panel.desktop12
-rw-r--r--abs/extra/java-sun/java-monitoring-and-management-console.desktop9
-rw-r--r--abs/extra/java-sun/java-policy-settings.desktop10
-rw-r--r--abs/extra/java-sun/java-visualvm.desktop11
-rw-r--r--abs/extra/java-sun/java-web-start.desktop13
-rw-r--r--abs/extra/java-sun/jdk.install11
-rw-r--r--abs/extra/java-sun/jdk.profile4
-rw-r--r--abs/extra/java-sun/jre.install22
-rw-r--r--abs/extra/java-sun/jre.profile4
-rw-r--r--abs/extra/libdvdread/DVDFileStat.patch238
-rw-r--r--abs/extra/libdvdread/PKGBUILD36
-rw-r--r--abs/extra/perl-dbd-mysql/PKGBUILD30
-rw-r--r--abs/extra/postgresql-libs/PKGBUILD136
-rw-r--r--abs/extra/postgresql-libs/build.patch11
-rwxr-xr-xabs/extra/postgresql-libs/postgresql59
-rw-r--r--abs/extra/postgresql-libs/postgresql.confd5
-rw-r--r--abs/extra/postgresql-libs/postgresql.logrotate4
-rw-r--r--abs/extra/postgresql-libs/postgresql.pam3
19 files changed, 0 insertions, 741 deletions
diff --git a/abs/extra/java-sun/PKGBUILD b/abs/extra/java-sun/PKGBUILD
deleted file mode 100644
index b348f0d..0000000
--- a/abs/extra/java-sun/PKGBUILD
+++ /dev/null
@@ -1,123 +0,0 @@
-# $Id: PKGBUILD 22893 2010-07-31 09:47:07Z ibiru $
-# Contributor: Geoffroy Carrier <geoffroy.carrier@aur.archlinux.org>
-# Contributor: Jason Chu <jason@archlinux.org>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
-# Contributor: Guillaume ALAUX <Guillaume at alaux dot net>
-
-pkgname=('jre' 'jdk')
-pkgbase=java-sun
-pkgver=6u21
-pkgrel=1
-pkgdesc="Sun/Oracle's implementation of tha Java 6 specification"
-arch=('i686' 'x86_64')
- [ "$CARCH" = "i686" ] && _arch=i586
- [ "$CARCH" = "x86_64" ] && _arch=amd64
-url="http://java.sun.com"
-license=('custom')
-makedepends=('java-runtime')
-source=(http://download.java.net/dlj/binaries/jdk-${pkgver}-dlj-linux-${_arch}.bin
- https://jdk-distros.dev.java.net/source/browse/*checkout*/jdk-distros/trunk/utils/construct.sh
- jdk.profile
- java-control-panel.desktop
- java-monitoring-and-management-console.desktop
- java-policy-settings.desktop
- java-visualvm.desktop
- java-web-start.desktop
- jre.profile)
-
-[ "$CARCH" = "i686" ] && md5sums=('b3fbbe55bafedb3f8f93e91d4e809390'
- '94065b612df0046d9ae758943f9f6a75'
- '7aaac9ec3e440b92361c6561ac00424a'
- 'e4d814c0f310d77ed6990c731bccd0fb'
- '4bc2b0be93f76ed07b471e3c89eb5a8a'
- '8e3cec7ab641ec449cabd068be583f5c'
- '9ba148ebabce8ed3351b813a9a66b6e5'
- '568451cf45fc8c7adb83a222a61ca2c6'
- '50b4f5ac4129097461d246645d73a622')
-[ "$CARCH" = "x86_64" ] && md5sums=('7961051f95c014a9b94ffe3e95ea66e6'
- '94065b612df0046d9ae758943f9f6a75'
- '7aaac9ec3e440b92361c6561ac00424a'
- 'e4d814c0f310d77ed6990c731bccd0fb'
- '4bc2b0be93f76ed07b471e3c89eb5a8a'
- '8e3cec7ab641ec449cabd068be583f5c'
- '9ba148ebabce8ed3351b813a9a66b6e5'
- '568451cf45fc8c7adb83a222a61ca2c6'
- '50b4f5ac4129097461d246645d73a622')
-
-build() {
- cd ${srcdir}
- mkdir unbundle-jdk
- cd unbundle-jdk
- sh ../jdk-${pkgver}-dlj-linux-$_arch.bin --accept-license
- cd ..
- sh construct.sh unbundle-jdk linux-jdk linux-jre
-}
-
-package_jre() {
- pkgdesc="Sun/Oracle's Java Runtime Environment"
- depends=('glibc' 'libxtst')
- provides=('j2re' 'java-runtime=6')
- conflicts=('j2re' 'java-runtime')
- replaces=('j2re')
- install='jre.install'
-
- cd ${srcdir}
-
- mkdir -p ${pkgdir}/opt/java
- cp -R linux-jdk/jre ${pkgdir}/opt/java
-
- install -Dm755 ${srcdir}/jre.profile ${pkgdir}/etc/profile.d/jre.sh
-
- mkdir -p ${pkgdir}/usr/lib/mozilla/plugins
-
- if [ "$CARCH" = "i686" ]; then
- ln -s /opt/java/jre/lib/i386/libnpjp2.so ${pkgdir}/usr/lib/mozilla/plugins
- else ln -s /opt/java/jre/lib/amd64/libnpjp2.so ${pkgdir}/usr/lib/mozilla/plugins
- fi
-
- mkdir -p ${pkgdir}/usr/share/licenses/jre
- cp ${pkgdir}/opt/java/jre/COPYRIGHT ${pkgdir}/usr/share/licenses/jre
- cp ${pkgdir}/opt/java/jre/LICENSE ${pkgdir}/usr/share/licenses/jre
- cp ${pkgdir}/opt/java/jre/THIRDPARTYLICENSEREADME.txt ${pkgdir}/usr/share/licenses/jre
-
- # Fix system prefs folder (FS#18872)
- install -dm755 ${pkgdir}/etc/.java/.systemPrefs
-}
-
-package_jdk() {
- pkgdesc="Sun/Oracle's Java Development Kit"
- depends=('glibc' 'jre')
- provides=('java-environment=6' 'j2sdk')
- conflicts=('java-environment' 'j2sdk')
- replaces=('j2sdk')
- install='jdk.install'
-
- cd ${srcdir}
-
- #copy icon
- install -Dm644 ${srcdir}/linux-jdk/jre/lib/desktop/icons/hicolor/48x48/apps/sun-java.png \
- ${pkgdir}/usr/share/pixmaps/java.png
-
- rm -rf linux-jdk/jre
- mkdir -p ${pkgdir}/opt
- mv linux-jdk ${pkgdir}/opt/java
-
- install -D -m755 ${srcdir}/jdk.profile ${pkgdir}/etc/profile.d/jdk.sh
-
- mkdir -p ${pkgdir}/usr/share/licenses/jdk
- cp ${pkgdir}/opt/java/COPYRIGHT ${pkgdir}/usr/share/licenses/jdk
- cp ${pkgdir}/opt/java/LICENSE ${pkgdir}/usr/share/licenses/jdk
- cp ${pkgdir}/opt/java/THIRDPARTYLICENSEREADME.txt ${pkgdir}/usr/share/licenses/jdk
-
- #desktop entries
- install -Dm644 ${srcdir}/java-control-panel.desktop \
- ${pkgdir}/usr/share/applications/java-control-panel.desktop
- install -Dm644 ${srcdir}/java-monitoring-and-management-console.desktop \
- ${pkgdir}/usr/share/applications/java-monitoring-and-management-console.desktop
- install -Dm644 ${srcdir}/java-policy-settings.desktop \
- ${pkgdir}/usr/share/applications/java-policy-settings.desktop
- install -Dm644 ${srcdir}/java-visualvm.desktop \
- ${pkgdir}/usr/share/applications/java-visualvm.desktop
- install -Dm644 ${srcdir}/java-web-start.desktop \
- ${pkgdir}/usr/share/applications/java-web-start.desktop
-}
diff --git a/abs/extra/java-sun/java-control-panel.desktop b/abs/extra/java-sun/java-control-panel.desktop
deleted file mode 100644
index 476e04a..0000000
--- a/abs/extra/java-sun/java-control-panel.desktop
+++ /dev/null
@@ -1,12 +0,0 @@
-[Desktop Entry]
-Exec=/opt/java/bin/jcontrol
-GenericName[cs]=Nastavení prostředí Java
-GenericName=Java Environment Settings
-Icon=java
-Name[cs]=Nastavení Javy
-Name=Java Control Panel
-Path=
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Settings;Java;
diff --git a/abs/extra/java-sun/java-monitoring-and-management-console.desktop b/abs/extra/java-sun/java-monitoring-and-management-console.desktop
deleted file mode 100644
index c0e1e59..0000000
--- a/abs/extra/java-sun/java-monitoring-and-management-console.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Exec=/opt/java/bin/jconsole
-Icon=java
-Name[cs]=Konzole monitorování a správy prostředí Java
-Name=Java Monitoring and Management Console
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Development;Java;
diff --git a/abs/extra/java-sun/java-policy-settings.desktop b/abs/extra/java-sun/java-policy-settings.desktop
deleted file mode 100644
index 1009301..0000000
--- a/abs/extra/java-sun/java-policy-settings.desktop
+++ /dev/null
@@ -1,10 +0,0 @@
-[Desktop Entry]
-Exec=/opt/java/bin/policytool
-Icon=java
-Name[cs]=Nastavení politiky Java aplikací
-Name=Java Policy Settings
-Path=
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Settings;Java;
diff --git a/abs/extra/java-sun/java-visualvm.desktop b/abs/extra/java-sun/java-visualvm.desktop
deleted file mode 100644
index 8aa9527..0000000
--- a/abs/extra/java-sun/java-visualvm.desktop
+++ /dev/null
@@ -1,11 +0,0 @@
-[Desktop Entry]
-Exec=/opt/java/bin/jvisualvm
-GenericName[cs]=Nástroj pro monitorování a sledování výkonu Java aplikací
-GenericName=Java Monitoring and Performance Monitoring Tool
-Icon=java
-Name=Java VisualVM
-Path=
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Development;Java;
diff --git a/abs/extra/java-sun/java-web-start.desktop b/abs/extra/java-sun/java-web-start.desktop
deleted file mode 100644
index 573ddc0..0000000
--- a/abs/extra/java-sun/java-web-start.desktop
+++ /dev/null
@@ -1,13 +0,0 @@
-[Desktop Entry]
-Exec=/opt/java/bin/javaws -viewer
-GenericName[cs]=Spravovat a spouštět aplikace Java Web Start
-GenericName=Manage and run Java Web Start Applications
-Icon=java
-MimeType=application/x-java-jnlp-file;
-Name[cs]=Java Web Start
-Name=Java Web Start
-Path=
-StartupNotify=true
-Terminal=false
-Type=Application
-Categories=Network;Java;
diff --git a/abs/extra/java-sun/jdk.install b/abs/extra/java-sun/jdk.install
deleted file mode 100644
index ae439b1..0000000
--- a/abs/extra/java-sun/jdk.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_upgrade() {
- post_install $1
-}
-
-post_install() {
- echo "The jdk package is licensed software."
- echo "You MUST read and agree to the license stored in"
- echo "/opt/java/LICENSE before using it."
-
-}
-
diff --git a/abs/extra/java-sun/jdk.profile b/abs/extra/java-sun/jdk.profile
deleted file mode 100644
index 9bee9a7..0000000
--- a/abs/extra/java-sun/jdk.profile
+++ /dev/null
@@ -1,4 +0,0 @@
-export J2SDKDIR=/opt/java
-export PATH=$PATH:/opt/java/bin
-export JAVA_HOME=/opt/java
-export DERBY_HOME=/opt/java/db
diff --git a/abs/extra/java-sun/jre.install b/abs/extra/java-sun/jre.install
deleted file mode 100644
index 41e698f..0000000
--- a/abs/extra/java-sun/jre.install
+++ /dev/null
@@ -1,22 +0,0 @@
-post_upgrade() {
- post_install $1
-}
-
-post_install() {
- echo "The jre package is licensed software."
- echo "You MUST read and agree to the license stored in"
- echo "/opt/java/jre/LICENSE before using it."
- if [ -f /etc/mailcap ] ; then
- sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
- fi
- echo 'application/x-java-jnlp-file;/opt/java/jre/bin/javaws %s' >>/etc/mailcap
-}
-
-post_remove() {
- mailcap=$(grep -v 'application/x-java-jnlp-file' /etc/mailcap)
- if [ "$mailcap" != "" ] ; then
- sed -e '/application\/x-java-jnlp-file/d' -i /etc/mailcap
- else
- rm /etc/mailcap
- fi
-}
diff --git a/abs/extra/java-sun/jre.profile b/abs/extra/java-sun/jre.profile
deleted file mode 100644
index af3e373..0000000
--- a/abs/extra/java-sun/jre.profile
+++ /dev/null
@@ -1,4 +0,0 @@
-export PATH=$PATH:/opt/java/jre/bin
-if [ ! -f /etc/profile.d/jdk.sh ]; then
- export JAVA_HOME=/opt/java/jre
-fi
diff --git a/abs/extra/libdvdread/DVDFileStat.patch b/abs/extra/libdvdread/DVDFileStat.patch
deleted file mode 100644
index 04d06f7..0000000
--- a/abs/extra/libdvdread/DVDFileStat.patch
+++ /dev/null
@@ -1,238 +0,0 @@
-diff -pruN libdvdread-4.1.3/src/dvd_reader.c libdvdread-4.1.3.new/src/dvd_reader.c
---- libdvdread-4.1.3/src/dvd_reader.c 2008-09-06 23:55:51.000000000 +0200
-+++ libdvdread-4.1.3.new/src/dvd_reader.c 2009-02-28 01:36:20.000000000 +0100
-@@ -889,6 +889,187 @@ void DVDCloseFile( dvd_file_t *dvd_file
- }
- }
-
-+static int DVDFileStatVOBUDF(dvd_reader_t *dvd, int title,
-+ int menu, dvd_stat_t *statbuf)
-+{
-+ char filename[ MAX_UDF_FILE_NAME_LEN ];
-+ uint32_t size;
-+ off_t tot_size;
-+ off_t parts_size[9];
-+ int nr_parts = 0;
-+ int n;
-+
-+ if( title == 0 ) {
-+ sprintf( filename, "/VIDEO_TS/VIDEO_TS.VOB" );
-+ } else {
-+ sprintf( filename, "/VIDEO_TS/VTS_%02d_%d.VOB", title, menu ? 0 : 1 );
-+ }
-+ if(!UDFFindFile( dvd, filename, &size )) {
-+ return -1;
-+ }
-+ tot_size = size;
-+ nr_parts = 1;
-+ parts_size[0] = size;
-+
-+ if( !menu ) {
-+ int cur;
-+
-+ for( cur = 2; cur < 10; cur++ ) {
-+ sprintf( filename, "/VIDEO_TS/VTS_%02d_%d.VOB", title, cur );
-+ if( !UDFFindFile( dvd, filename, &size ) ) {
-+ break;
-+ }
-+ parts_size[nr_parts] = size;
-+ tot_size += size;
-+ nr_parts++;
-+ }
-+ }
-+
-+ statbuf->size = tot_size;
-+ statbuf->nr_parts = nr_parts;
-+ for(n = 0; n < nr_parts; n++) {
-+ statbuf->parts_size[n] = parts_size[n];
-+ }
-+ return 0;
-+}
-+
-+
-+static int DVDFileStatVOBPath( dvd_reader_t *dvd, int title,
-+ int menu, dvd_stat_t *statbuf )
-+{
-+ char filename[ MAX_UDF_FILE_NAME_LEN ];
-+ char full_path[ PATH_MAX + 1 ];
-+ struct stat fileinfo;
-+ off_t tot_size;
-+ off_t parts_size[9];
-+ int nr_parts = 0;
-+ int n;
-+
-+
-+
-+ if( title == 0 ) {
-+ sprintf( filename, "VIDEO_TS.VOB" );
-+ } else {
-+ sprintf( filename, "VTS_%02d_%d.VOB", title, menu ? 0 : 1 );
-+ }
-+ if( !findDVDFile( dvd, filename, full_path ) ) {
-+ return -1;
-+ }
-+
-+ if( stat( full_path, &fileinfo ) < 0 ) {
-+ fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
-+ return -1;
-+ }
-+
-+
-+ tot_size = fileinfo.st_size;
-+ nr_parts = 1;
-+ parts_size[0] = fileinfo.st_size;
-+
-+ if( !menu ) {
-+ int cur;
-+
-+ for( cur = 2; cur < 10; cur++ ) {
-+
-+ sprintf( filename, "VTS_%02d_%d.VOB", title, cur );
-+ if( !findDVDFile( dvd, filename, full_path ) ) {
-+ break;
-+ }
-+
-+ if( stat( full_path, &fileinfo ) < 0 ) {
-+ fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
-+ break;
-+ }
-+
-+ parts_size[nr_parts] = fileinfo.st_size;
-+ tot_size += parts_size[nr_parts];
-+ nr_parts++;
-+ }
-+ }
-+
-+ statbuf->size = tot_size;
-+ statbuf->nr_parts = nr_parts;
-+ for(n = 0; n < nr_parts; n++) {
-+ statbuf->parts_size[n] = parts_size[n];
-+ }
-+ return 0;
-+}
-+
-+
-+int DVDFileStat(dvd_reader_t *dvd, int titlenum,
-+ dvd_read_domain_t domain, dvd_stat_t *statbuf)
-+{
-+ char filename[ MAX_UDF_FILE_NAME_LEN ];
-+ char full_path[ PATH_MAX + 1 ];
-+ struct stat fileinfo;
-+ uint32_t size;
-+
-+ /* Check arguments. */
-+ if( dvd == NULL || titlenum < 0 ) {
-+ errno = EINVAL;
-+ return -1;
-+ }
-+
-+ switch( domain ) {
-+ case DVD_READ_INFO_FILE:
-+ if( titlenum == 0 ) {
-+ sprintf( filename, "/VIDEO_TS/VIDEO_TS.IFO" );
-+ } else {
-+ sprintf( filename, "/VIDEO_TS/VTS_%02i_0.IFO", titlenum );
-+ }
-+ break;
-+ case DVD_READ_INFO_BACKUP_FILE:
-+ if( titlenum == 0 ) {
-+ sprintf( filename, "/VIDEO_TS/VIDEO_TS.BUP" );
-+ } else {
-+ sprintf( filename, "/VIDEO_TS/VTS_%02i_0.BUP", titlenum );
-+ }
-+ break;
-+ case DVD_READ_MENU_VOBS:
-+ if( dvd->isImageFile ) {
-+ return DVDFileStatVOBUDF( dvd, titlenum, 1, statbuf );
-+ } else {
-+ return DVDFileStatVOBPath( dvd, titlenum, 1, statbuf );
-+ }
-+ break;
-+ case DVD_READ_TITLE_VOBS:
-+ if( titlenum == 0 ) {
-+ return -1;
-+ }
-+ if( dvd->isImageFile ) {
-+ return DVDFileStatVOBUDF( dvd, titlenum, 0, statbuf );
-+ } else {
-+ return DVDFileStatVOBPath( dvd, titlenum, 0, statbuf );
-+ }
-+ break;
-+ default:
-+ fprintf( stderr, "libdvdread: Invalid domain for file stat.\n" );
-+ errno = EINVAL;
-+ return -1;
-+ }
-+
-+ if( dvd->isImageFile ) {
-+ if( UDFFindFile( dvd, filename, &size ) ) {
-+ statbuf->size = size;
-+ statbuf->nr_parts = 1;
-+ statbuf->parts_size[0] = size;
-+ return 0;
-+ }
-+ } else {
-+ if( findDVDFile( dvd, filename, full_path ) ) {
-+ if( stat( full_path, &fileinfo ) < 0 ) {
-+ fprintf( stderr, "libdvdread: Can't stat() %s.\n", filename );
-+ } else {
-+ statbuf->size = fileinfo.st_size;
-+ statbuf->nr_parts = 1;
-+ statbuf->parts_size[0] = statbuf->size;
-+ return 0;
-+ }
-+ }
-+ }
-+ return -1;
-+}
-+
- /* Internal, but used from dvd_udf.c */
- int UDFReadBlocksRaw( dvd_reader_t *device, uint32_t lb_number,
- size_t block_count, unsigned char *data,
-diff -pruN libdvdread-4.1.3/src/dvd_reader.h libdvdread-4.1.3.new/src/dvd_reader.h
---- libdvdread-4.1.3/src/dvd_reader.h 2008-09-06 23:55:51.000000000 +0200
-+++ libdvdread-4.1.3.new/src/dvd_reader.h 2009-02-28 01:36:49.000000000 +0100
-@@ -115,6 +115,42 @@ typedef enum {
- } dvd_read_domain_t;
-
- /**
-+ *
-+ */
-+typedef struct {
-+ off_t size; /**< Total size of file in bytes */
-+ int nr_parts; /**< Number of file parts */
-+ off_t parts_size[9]; /**< Size of each part in bytes */
-+} dvd_stat_t;
-+
-+/**
-+ * Stats a file on the DVD given the title number and domain.
-+ * The information about the file is stored in a dvd_stat_t
-+ * which contains information about the size of the file and
-+ * the number of parts in case of a multipart file and the respective
-+ * sizes of the parts.
-+ * A multipart file is for instance VTS_02_1.VOB, VTS_02_2.VOB, VTS_02_3.VOB
-+ * The size of VTS_02_1.VOB will be stored in stat->parts_size[0],
-+ * VTS_02_2.VOB in stat->parts_size[1], ...
-+ * The total size (sum of all parts) is stored in stat->size and
-+ * stat->nr_parts will hold the number of parts.
-+ * Only DVD_READ_TITLE_VOBS (VTS_??_[1-9].VOB) can be multipart files.
-+ *
-+ * This function is only of use if you want to get the size of each file
-+ * in the filesystem. These sizes are not needed to use any other
-+ * functions in libdvdread.
-+ *
-+ * @param dvd A dvd read handle.
-+ * @param titlenum Which Video Title Set should be used, VIDEO_TS is 0.
-+ * @param domain Which domain.
-+ * @param stat Pointer to where the result is stored.
-+ * @return If successful 0, otherwise -1.
-+ *
-+ * int DVDFileStat(dvd, titlenum, domain, stat);
-+ */
-+int DVDFileStat(dvd_reader_t *, int, dvd_read_domain_t, dvd_stat_t *);
-+
-+/**
- * Opens a file on the DVD given the title number and domain.
- *
- * If the title number is 0, the video manager information is opened
-
diff --git a/abs/extra/libdvdread/PKGBUILD b/abs/extra/libdvdread/PKGBUILD
deleted file mode 100644
index edbdaa4..0000000
--- a/abs/extra/libdvdread/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# $Id: PKGBUILD 80196 2010-05-13 15:59:09Z andrea $
-# Maintainer:
-# Contributor: Thomas Baechler <thomas@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-
-pkgname=libdvdread
-pkgver=4.1.3
-pkgrel=2
-pkgdesc="Provides a simple foundation for reading DVD video disks"
-arch=(i686 x86_64)
-url="http://www.mplayerhq.hu/MPlayer/releases/dvdnav/"
-license=('GPL')
-depends=('glibc')
-makedepends=('libdvdcss')
-optdepends=('libdvdcss: for decoding encrypted DVDs')
-options=('!libtool')
-source=("http://www.mplayerhq.hu/MPlayer/releases/dvdnav/${pkgname}-${pkgver}.tar.bz2"
- 'DVDFileStat.patch')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
-
- # http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2009-February/000986.html (FS#19324)
- patch -Np1 -i ${srcdir}/DVDFileStat.patch || return 1
-
- ./autogen.sh --prefix=/usr || return 1
- make || return 1
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" install || return 1
-}
-
-md5sums=('6dc068d442c85a3cdd5ad3da75f6c6e8'
- '140d02afbf66bfbf034549157ed4f7ad')
diff --git a/abs/extra/perl-dbd-mysql/PKGBUILD b/abs/extra/perl-dbd-mysql/PKGBUILD
deleted file mode 100644
index c53aac7..0000000
--- a/abs/extra/perl-dbd-mysql/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# $Id: PKGBUILD 82506 2010-06-12 19:27:47Z kevin $
-# Maintainer: Kevin Piche <kevin@archlinux.org>
-# Contributor: Eric Johnson <eric@coding-zone.com>
-
-pkgname=perl-dbd-mysql
-_realname=DBD-mysql
-pkgver=4.018
-pkgrel=1
-pkgdesc="Perl/CPAN DBD::mysql module for interacting with MySQL via DBD"
-arch=(i686 x86_64)
-license=('GPL' 'PerlArtistic')
-url="http://search.cpan.org/dist/${_realname}/"
-depends=('libmysqlclient' 'perl-dbi' 'perl>=5.10.0')
-makedepends=('mysql')
-options=(!emptydirs)
-source=(http://search.cpan.org/CPAN/authors/id/C/CA/CAPTTOFU/${_realname}-${pkgver}.tar.gz)
-
-build() {
- cd ${srcdir}/${_realname}-${pkgver}
-
- # install module in vendor directories.
- perl Makefile.PL INSTALLDIRS=vendor || return 1
- make || return 1
- make install DESTDIR=${pkgdir} || return 1
-
- # remove perllocal.pod and .packlist
- find ${pkgdir} -name perllocal.pod -delete
- find ${pkgdir} -name .packlist -delete
-}
-md5sums=('d1d4ee2f20910d6491d1b6216471b2f1')
diff --git a/abs/extra/postgresql-libs/PKGBUILD b/abs/extra/postgresql-libs/PKGBUILD
deleted file mode 100644
index 14ba9f8..0000000
--- a/abs/extra/postgresql-libs/PKGBUILD
+++ /dev/null
@@ -1,136 +0,0 @@
-# $Id: PKGBUILD 98184 2010-11-04 14:55:39Z dan $
-# Maintainer: Douglas Soares de Andrade <douglas@archlinux.org>
-
-pkgbase=postgresql
-pkgname=('postgresql-libs' 'postgresql-docs' 'postgresql')
-pkgver=9.0.1
-pkgrel=2.1
-arch=('i686' 'x86_64')
-url="http://www.postgresql.org"
-license=('BSD')
-makedepends=('libxml2' 'python2' 'perl')
-source=(ftp://ftp.postgresql.org/pub/source/v${pkgver}/postgresql-${pkgver}.tar.bz2 \
- postgresql postgresql.confd build.patch postgresql.pam postgresql.logrotate)
-
-build() {
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- # patch to remove regress/test make target (won't build with it present)
- patch -Np1 -i ../build.patch
-
- # configure
- ./configure --prefix=/usr --mandir=/usr/share/man --with-libxml \
- --with-openssl --with-perl \
- --with-python PYTHON=/usr/bin/python2 --with-pam \
- --with-system-tzdata=/usr/share/zoneinfo --enable-nls \
- --datadir=/usr/share/postgresql --enable-thread-safety
-
- sed -i -e '/interfaces/d' src/Makefile
-
- # build
- make world
-
- # build libs
- for dir in src/interfaces src/bin/pg_config; do
- pushd ${dir}
- make
- popd
- done
-}
-
-package_postgresql-libs() {
- pkgdesc="Libraries for use with PostgreSQL"
- depends=('openssl>=1.0.0')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- # install license
- install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- # install libs
- for dir in src/interfaces src/bin/pg_config; do
- pushd ${dir}
- make DESTDIR="${pkgdir}" install
- popd
- done
-
- install -D -m644 doc/src/sgml/man1/pg_config.1 "${pkgdir}/usr/share/man/man1/pg_config.1"
-
- cd src/include
-
- mkdir -p "${pkgdir}"/usr/include/{libpq,postgresql/internal/libpq}
-
- # these headers are needed by the public headers of the interfaces
- install -m644 pg_config.h "${pkgdir}/usr/include/"
- install -m644 pg_config_os.h "${pkgdir}/usr/include/"
- install -m644 postgres_ext.h "${pkgdir}/usr/include/"
- install -m644 libpq/libpq-fs.h "${pkgdir}/usr/include/libpq/"
- install -m644 pg_config_manual.h "${pkgdir}/usr/include/"
-
- # these headers are needed by the not-so-public headers of the interfaces
- install -m644 c.h "${pkgdir}/usr/include/postgresql/internal/"
- install -m644 port.h "${pkgdir}/usr/include/postgresql/internal/"
- install -m644 postgres_fe.h "${pkgdir}/usr/include/postgresql/internal/"
- install -m644 libpq/pqcomm.h "${pkgdir}/usr/include/postgresql/internal/libpq/"
-}
-
-package_postgresql-docs() {
- pkgdesc="HTML documentation for PostgreSQL"
- options=(docs)
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- # install license
- install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-
- make -C doc/src/sgml DESTDIR="${pkgdir}" install-html
- chown -R root:root "${pkgdir}/usr/share/doc/postgresql/html/"
-}
-
-package_postgresql() {
- pkgdesc="A sophisticated object-relational DBMS"
- backup=('etc/conf.d/postgresql' 'etc/pam.d/postgresql' 'etc/logrotate.d/postgresql')
- depends=("postgresql-libs>=${pkgver}" 'libxml2' 'readline>=6.0')
- optdepends=('python2: for PL/Python support'
- 'perl: for PL/Perl support')
- provides=('postgresql-client')
- conflicts=('postgresql-client')
-
- cd "${srcdir}/${pkgbase}-${pkgver}"
-
- # install
- make DESTDIR="${pkgdir}" install
- make -C contrib DESTDIR="${pkgdir}" install
- make -C doc/src/sgml DESTDIR="${pkgdir}" install-man
- # we don't want this, it is in the -libs package
- make -C src/bin/pg_config DESTDIR="${pkgdir}" uninstall
- rm "${pkgdir}/usr/share/man/man1/pg_config.1"
-
- # install license
- install -D -m644 COPYRIGHT "${pkgdir}/usr/share/licenses/${pkgbase}/LICENSE"
-
- # clean up unneeded installed items
- rm -rf "${pkgdir}/usr/include/postgresql/internal"
- rm -rf "${pkgdir}/usr/include/libpq"
- find "${pkgdir}/usr/include" -maxdepth 1 -type f -execdir rm {} +
-
- # install launch script
- install -D -m755 "${srcdir}/postgresql" "${pkgdir}/etc/rc.d/postgresql"
-
- # install conf file
- install -D -m644 ${srcdir}/postgresql.confd \
- "${pkgdir}/etc/conf.d/postgresql"
-
- install -D -m644 ${srcdir}/postgresql.pam \
- "${pkgdir}/etc/pam.d/postgresql"
-
- install -D -m644 ${srcdir}/postgresql.logrotate \
- "${pkgdir}/etc/logrotate.d/postgresql"
-}
-
-md5sums=('57ba57e43cfe29e16dacbf5789be98d1'
- '4153ac0ef4a77e709385b0a13e1c0fad'
- 'd63a05943cf0a2726aa2070f3033c569'
- '4d74f4227dc5e12bf95b3490758d86c9'
- '96f82c38f3f540b53f3e5144900acf17'
- 'd28e443f9f65a5712c52018b84e27137')
diff --git a/abs/extra/postgresql-libs/build.patch b/abs/extra/postgresql-libs/build.patch
deleted file mode 100644
index c8f665d..0000000
--- a/abs/extra/postgresql-libs/build.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -Naur postgresql-8.2.3-orig/src/Makefile postgresql-8.2.3/src/Makefile
---- postgresql-8.2.3-orig/src/Makefile 2006-06-22 16:50:35.000000000 -0700
-+++ postgresql-8.2.3/src/Makefile 2007-03-05 10:46:24.000000000 -0800
-@@ -23,7 +23,6 @@
- $(MAKE) -C bin $@
- $(MAKE) -C pl $@
- $(MAKE) -C makefiles $@
-- $(MAKE) -C test/regress $@
-
- install: install-local
-
diff --git a/abs/extra/postgresql-libs/postgresql b/abs/extra/postgresql-libs/postgresql
deleted file mode 100755
index b00289e..0000000
--- a/abs/extra/postgresql-libs/postgresql
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/postgresql
-
-case "$1" in
- start)
- stat_busy "Starting PostgreSQL"
- # initialization
- if [ ! `egrep '^postgres:' /etc/group` ]; then
- stat_busy "Adding postgres group"
- groupadd -g 88 postgres
- stat_done
- fi
- if [ ! `egrep '^postgres:' /etc/passwd` ]; then
- stat_busy "Adding postgres user"
- useradd -u 88 -g postgres -d $PGROOT -s /bin/bash postgres
- [ -d $PGROOT ] && chown -R postgres.postgres $PGROOT
- stat_done
- fi
- if [ ! -d $PGROOT ]; then
- mkdir -p $PGROOT/data && chown -R postgres.postgres $PGROOT
- su - postgres -c "/usr/bin/initdb $INITOPTS -D $PGROOT/data"
- fi
- if [ ! -e /var/log/postgresql.log ]; then
- touch /var/log/postgresql.log
- chown postgres /var/log/postgresql.log
- fi
- # start the process
- su - postgres -c \
- "/usr/bin/pg_ctl -D $PGROOT/data -l /var/log/postgresql.log -W start"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon postgresql
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping PostgreSQL"
- su - postgres -c \
- "/usr/bin/pg_ctl -D $PGROOT/data -l /var/log/postgresql.log -w stop"
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon postgresql
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 3
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/abs/extra/postgresql-libs/postgresql.confd b/abs/extra/postgresql-libs/postgresql.confd
deleted file mode 100644
index 5f8fa03..0000000
--- a/abs/extra/postgresql-libs/postgresql.confd
+++ /dev/null
@@ -1,5 +0,0 @@
-#
-# Parameters to be passed to postgresql
-#
-PGROOT="/var/lib/postgres"
-INITOPTS="--locale $LANG"
diff --git a/abs/extra/postgresql-libs/postgresql.logrotate b/abs/extra/postgresql-libs/postgresql.logrotate
deleted file mode 100644
index 9c36918..0000000
--- a/abs/extra/postgresql-libs/postgresql.logrotate
+++ /dev/null
@@ -1,4 +0,0 @@
-/var/log/postgresql.log {
- copytruncate
- missingok
-}
diff --git a/abs/extra/postgresql-libs/postgresql.pam b/abs/extra/postgresql-libs/postgresql.pam
deleted file mode 100644
index 53724d1..0000000
--- a/abs/extra/postgresql-libs/postgresql.pam
+++ /dev/null
@@ -1,3 +0,0 @@
-auth required pam_unix.so
-account required pam_unix.so
-session required pam_unix.so