diff --git a/common/hooks/post-install/00-uncompress-manpages.sh b/common/hooks/post-install/00-uncompress-manpages.sh new file mode 100644 index 0000000000..5547e053db --- /dev/null +++ b/common/hooks/post-install/00-uncompress-manpages.sh @@ -0,0 +1,27 @@ +# This hook uncompresses man(1) files. + +hook() { + local f lnkat mandir=${PKGDESTDIR}/usr/share/man + + if [ -d ${PKGDESTDIR}/usr/man ]; then + msg_error "${pkgver}: /usr/man directory is not allowed, use /usr/share/man.\n" + fi + + if [ ! -d $mandir ] || + [ -z "$(find $mandir -regex '.*\.\(gz\|bz2\)' -print -quit)" ]; then + return 0 + fi + + echo " Uncompressing manpages..." + + # rewrite symlinks + find $mandir -type l -regex '.*\.\(gz\|bz2\)' | while read f + do + lnkat=$(readlink "$f") + ln -vs ${lnkat%.*} ${f%.*} + rm $f + done + + find $mandir -type f -name '*.gz' -exec gunzip -v {} + + find $mandir -type f -name '*.bz2' -exec bunzip2 -v {} + +} diff --git a/common/shlibs b/common/shlibs index 54774a3536..aee92dc9f0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -986,6 +986,7 @@ libijs-0.35.so libijs-0.8_1 libgs.so.9 libgs-0.8_1 libssh2.so.1 libssh2-1.4.1_1 libvirt-glib-1.0.so.0 libvirt-glib-0.0.8_1 +libsnmp.so.30 libnet-snmp-5.7.1_1 libnetsnmp.so.30 libnet-snmp-5.7.1_1 libnetsnmpagent.so.30 libnet-snmp-5.7.1_1 libnetsnmpmibs.so.30 libnet-snmp-5.7.1_1 @@ -1665,3 +1666,5 @@ libxmlrpc_client.so.3 xmlrpc-c-1.25.28_1 libtelepathy-farstream.so.3 telepathy-farstream-0.6.0_6 libtidy-0.99.so.0 tidy-1.46_2 libnetpbm.so.11 libnetpbm-10.66.03_2 +libid3.so id3lib-3.8.3_1 +libid3-3.8.so.3 id3lib-3.8.3_1 diff --git a/srcpkgs/AlsaMixer.app/template b/srcpkgs/AlsaMixer.app/template new file mode 100644 index 0000000000..58b37f623b --- /dev/null +++ b/srcpkgs/AlsaMixer.app/template @@ -0,0 +1,19 @@ +# Template file for 'AlsaMixer.app' +pkgname=AlsaMixer.app +version=0.1 +revision=1 +makedepends="alsa-lib-devel libX11-devel libXext-devel libXpm-devel" +short_desc="Simple dockable mixer application for Linux with ALSA drivers" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="https://github.com/thinrope/AlsaMixer.app" +distfiles="http://distfiles.gentoo.org/distfiles/AlsaMixer.app-${version}.tar.gz" +checksum=7d55d3ba5ffd82bcddcb546e0aa33ab8638df5d1418aa170e91c42e35c0c8c15 + +do_build() { + make ${make_jobs} CXX="$CXX" +} + +do_install() { + vbin AlsaMixer.app +} diff --git a/srcpkgs/Ice/template b/srcpkgs/Ice/template index 517ede8cc7..b322799d18 100644 --- a/srcpkgs/Ice/template +++ b/srcpkgs/Ice/template @@ -1,7 +1,7 @@ # Template file for 'Ice' pkgname=Ice version=3.5.1 -revision=2 +revision=3 build_wrksrc=cpp homepage="http://www.zeroc.com" # XXX: other language bindings @@ -16,6 +16,7 @@ do_configure() { sed -i -e "s|^#OPTIMIZE|OPTIMIZE|" config/Make.rules sed -i -e "s|x)/config|x)/lib/Ice/config|" config/Make.rules sed -i '/^embedded_runpath_prefix*/d' config/Make.rules + sed -i -e 's|x)/man/man1|x)/share/man/man1|' config/Make.rules sed -i -e "s|test demo||" Makefile } diff --git a/srcpkgs/cpuburn/patches/01-variables.patch b/srcpkgs/cpuburn/patches/01-variables.patch new file mode 100644 index 0000000000..e855428eea --- /dev/null +++ b/srcpkgs/cpuburn/patches/01-variables.patch @@ -0,0 +1,40 @@ +--- burnK7.S ++++ burnK7.S +@@ -74,6 +74,7 @@ int_exit: + push %eax + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + .fill 64 + half: .long 0x7fffffff,0 +--- burnP5.S ++++ burnP5.S +@@ -77,6 +77,7 @@ crunch: + #else + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0xffffffff,0x3fdfffff + one: .long 0xffffffff,0x3fefffff +--- burnP6.S ++++ burnP6.S +@@ -69,6 +69,7 @@ int_exit: # error abort + push %eax # *BSD syscall + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff +--- burnK6.S ++++ burnK6.S +@@ -68,6 +68,7 @@ int_exit: + push %eax + int $0x80 + #endif ++.data # Data allocation + .align 32,0 + half: .long 0x7fffffff,0 + e: .long 0xffffffff,0x3fdfffff diff --git a/srcpkgs/cpuburn/patches/02-m32.patch b/srcpkgs/cpuburn/patches/02-m32.patch new file mode 100644 index 0000000000..44a30bc89e --- /dev/null +++ b/srcpkgs/cpuburn/patches/02-m32.patch @@ -0,0 +1,7 @@ +--- Makefile ++++ Makefile +@@ -1,3 +1,3 @@ + all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX + .S: +- gcc -s -nostdlib -o $@ $< ++ gcc -m32 -s -nostdlib -o $@ $< diff --git a/srcpkgs/cpuburn/template b/srcpkgs/cpuburn/template new file mode 100644 index 0000000000..0134ff9e32 --- /dev/null +++ b/srcpkgs/cpuburn/template @@ -0,0 +1,38 @@ +# Template file for 'cpuburn' +pkgname=cpuburn +only_for_archs="armv6l armv7l i686 x86_64" +version=1.4a +revision=1 +short_desc="Collection of programs to put heavy load on CPU" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="https://launchpad.net/ubuntu/+source/cpuburn/" +distfiles="https://launchpad.net/ubuntu/+archive/primary/+files/${pkgname}_${version}.orig.tar.gz" +checksum=eb191ce9bfbf453d30c218c3419573df102a3588f96c4a43686c84bb9da4bed6 + +do_build() { + case "$XBPS_TARGET_MACHINE" in + i686*|x86_64*) make CC="$CC";; + arm*) make -C ARM CC="$CC";; + esac +} + +do_install() { + vdoc README + case "$XBPS_TARGET_MACHINE" in + i686*|x86_64*) + vbin burnBX + vbin burnK6 + vbin burnK7 + vbin burnMMX + vbin burnP5 + vbin burnP6 + vdoc Design + ;; + arm*) + vbin ARM/burnCortexA8 + vbin ARM/burnCortexA9 + vdoc ARM/Design + ;; + esac +} diff --git a/srcpkgs/easytag/template b/srcpkgs/easytag/template new file mode 100644 index 0000000000..e7074a9f1a --- /dev/null +++ b/srcpkgs/easytag/template @@ -0,0 +1,14 @@ +# Template file for 'easytag' +pkgname=easytag +version=2.2.3 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config intltool itstool" +makedepends="gtk+3-devel id3lib-devel libid3tag-devel libvorbis-devel + libflac-devel opusfile-devel speex-devel taglib-devel wavpack-devel" +short_desc="GUI audio tag editor" +maintainer="Christian Neukirchen " +license="GPL-2,GPL-3" +homepage="http://easytag.sourceforge.net/" +distfiles="http://download.gnome.org/sources/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=f49cadc868a67faeb99bdbedc21a3009783609b380d098412c4799ec48aeaeb3 diff --git a/srcpkgs/fvwm/template b/srcpkgs/fvwm/template new file mode 100644 index 0000000000..de1fa51172 --- /dev/null +++ b/srcpkgs/fvwm/template @@ -0,0 +1,20 @@ +# Template file for 'fvwm' +pkgname=fvwm +version=2.6.5 +revision=1 +build_style=gnu-configure +hostmakedepends="libxslt pkg-config" +makedepends="fribidi-devel libXpm-devel librsvg-devel libXinerama-devel + libXcursor-devel libSM-devel libXt-devel libXft-devel + fontconfig-devel readline-devel" +depends="perl" +short_desc="an extremely powerful ICCCM-compliant window manager" +maintainer="Christian Neukirchen " +license="GPL-2,custom" +homepage="http://fvwm.org/" +distfiles="ftp://ftp.fvwm.org/pub/fvwm/version-${version%%.*}/${pkgname}-${version}.tar.bz2" +checksum=21549995c53906be5533746a1cf61b1ecf8dd8ef6816a0b20615d45ff78b48cf + +post_install() { + vlicense COPYING +} diff --git a/srcpkgs/gbdfed/patches/Makefile.in.patch b/srcpkgs/gbdfed/patches/Makefile.in.patch new file mode 100644 index 0000000000..ca73a9f64b --- /dev/null +++ b/srcpkgs/gbdfed/patches/Makefile.in.patch @@ -0,0 +1,15 @@ +--- Makefile.in- 2010-04-16 16:38:59.000000000 +0200 ++++ Makefile.in 2014-07-06 19:01:18.669249288 +0200 +@@ -27,9 +27,9 @@ + CC = @CC@ + CFLAGS = @XX_CFLAGS@ @CFLAGS@ + +-DEFINES = @DEFINES@ -DG_DISABLE_DEPRECATED \ +- -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED \ +- -DGTK_DISABLE_DEPRECATED ++DEFINES = @DEFINES@ ++ ++ + + SRCS = bdf.c \ + bdfcons.c \ diff --git a/srcpkgs/gbdfed/patches/num_signals.patch b/srcpkgs/gbdfed/patches/num_signals.patch new file mode 100644 index 0000000000..dab27f330f --- /dev/null +++ b/srcpkgs/gbdfed/patches/num_signals.patch @@ -0,0 +1,21 @@ +--- glyphedit.c 2010-04-16 16:39:04.000000000 +0200 ++++ glyphedit.c 2011-11-23 21:30:25.479413052 +0100 +@@ -104,7 +104,8 @@ + GLYPH_MODIFIED = 0, + POINTER_MOVED, + OPERATION_CHANGE, +- COLOR_CHANGE ++ COLOR_CHANGE, ++ NUM_SIGNALS + }; + + /************************************************************************** +@@ -114,7 +115,7 @@ + **************************************************************************/ + + static GtkWidgetClass *parent_class = 0; +-static guint glyphedit_signals[OPERATION_CHANGE + 1]; ++static guint glyphedit_signals[NUM_SIGNALS]; + + /************************************************************************** + * diff --git a/srcpkgs/gbdfed/template b/srcpkgs/gbdfed/template new file mode 100644 index 0000000000..2bff558c80 --- /dev/null +++ b/srcpkgs/gbdfed/template @@ -0,0 +1,13 @@ +# Template file for 'gbdfed' +pkgname=gbdfed +version=1.6 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="gtk+-devel" +short_desc="A GTK2 bitmap font editor" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.math.nmsu.edu/~mleisher/Software/gbdfed/" +distfiles="http://www.math.nmsu.edu/~mleisher/Software/${pkgname}/${pkgname}-${version}.tbz2>${pkgname}-${version}.tar.bz2" +checksum=5db25d4ce688dcb188dee056e58614a94a5e4fce4b6066fbb310951ab999093c diff --git a/srcpkgs/get-flash-videos-git/template b/srcpkgs/get-flash-videos-git/template new file mode 100644 index 0000000000..3c8a5d82db --- /dev/null +++ b/srcpkgs/get-flash-videos-git/template @@ -0,0 +1,24 @@ +# Template file for 'get-flash-videos-git' +pkgname=get-flash-videos-git +version=20140706 +revision=1 +noarch=yes +makedepends="" +depends="perl perl-WWW-Mechanize perl-HTTP-Cookies perl-LWP-Protocol-https + perl-Module-Find perl-LWP-Protocol-socks perl-Tie-IxHash + perl-Crypt-Blowfish_PP" +short_desc="Downloads videos from various Flash-based video hosting sites" +maintainer="Christian Neukirchen " +license="Apache-2.0" +homepage="http://code.google.com/p/get-flash-videos" + +do_fetch() { + local url="git://github.com/monsieurvideo/get-flash-videos.git" + msg_normal "Fetching source from $url ...\n" + git clone ${url} ${pkgname}-${version} +} + +do_install() { + make install DESTDIR="$DESTDIR" INSTALL_BASE=/usr \ + INSTALLSITELIB=/usr/lib/perl5/site_perl INSTALLSITESCRIPT=/usr/bin +} diff --git a/srcpkgs/gnubg/template b/srcpkgs/gnubg/template new file mode 100644 index 0000000000..1c11a532df --- /dev/null +++ b/srcpkgs/gnubg/template @@ -0,0 +1,13 @@ +# Template file for 'gnubg' +pkgname=gnubg +version=1.02.000 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="libglib-devel gtk+-devel python-devel readline-devel readline" +short_desc="GNU Backgammon" +maintainer="Christian Neukirchen " +license="GPL-3" +homepage="http://www.gnubg.org" +distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz" +checksum=7ece7fc02481f8e6c08869306f1cf52cad9ec5ddd675de67782cf028a6dcb504 diff --git a/srcpkgs/gtk2fontsel/template b/srcpkgs/gtk2fontsel/template new file mode 100644 index 0000000000..328ba339ae --- /dev/null +++ b/srcpkgs/gtk2fontsel/template @@ -0,0 +1,13 @@ +# Template file for 'gtk2fontsel' +pkgname=gtk2fontsel +version=0.1 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="gtk+-devel" +short_desc="Font selection and preview tool" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://gtk2fontsel.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +checksum=5cd6396fc3c6e7f9bc358cc5ad30592ba446cdb0138a811216497b6453905a68 diff --git a/srcpkgs/id3lib-devel b/srcpkgs/id3lib-devel new file mode 120000 index 0000000000..b45223f48f --- /dev/null +++ b/srcpkgs/id3lib-devel @@ -0,0 +1 @@ +id3lib \ No newline at end of file diff --git a/srcpkgs/id3lib/patches/10-fix-compilation-with-cpp-headers.patch b/srcpkgs/id3lib/patches/10-fix-compilation-with-cpp-headers.patch new file mode 100644 index 0000000000..01206eff4b --- /dev/null +++ b/srcpkgs/id3lib/patches/10-fix-compilation-with-cpp-headers.patch @@ -0,0 +1,21 @@ +--- include/id3/id3lib_strings.h ++++ include/id3/id3lib_strings.h +@@ -30,6 +30,7 @@ + #define _ID3LIB_STRINGS_H_ + + #include ++#include + + #if (defined(__GNUC__) && (__GNUC__ >= 3) || (defined(_MSC_VER) && _MSC_VER > 1000)) + namespace std +--- include/id3/writers.h ++++ include/id3/writers.h +@@ -30,7 +30,7 @@ + + #include "id3/writer.h" + #include "id3/id3lib_streams.h" +-//#include ++#include + + class ID3_CPP_EXPORT ID3_OStreamWriter : public ID3_Writer + { diff --git a/srcpkgs/id3lib/patches/30-fix-utf16.patch b/srcpkgs/id3lib/patches/30-fix-utf16.patch new file mode 100644 index 0000000000..e484572f67 --- /dev/null +++ b/srcpkgs/id3lib/patches/30-fix-utf16.patch @@ -0,0 +1,38 @@ +Patch from 'Spoon' to fix issues with writing certain unicode characters +--- ChangeLog ++++ ChangeLog +@@ -1,3 +1,8 @@ ++2006-02-17 Jerome Couderc ++ ++ * Patch from Spoon to fix UTF-16 writing bug ++ http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979 ++ + 2003-03-02 Sunday 17:38 Thijmen Klok + + * THANKS (1.20): added more people +--- src/io_helpers.cpp ++++ src/io_helpers.cpp +@@ -363,11 +363,22 @@ + // Write the BOM: 0xFEFF + unicode_t BOM = 0xFEFF; + writer.writeChars((const unsigned char*) &BOM, 2); ++ // Patch from Spoon : 2004-08-25 14:17 ++ // http://sourceforge.net/tracker/index.php?func=detail&aid=1016290&group_id=979&atid=300979 ++ // Wrong code ++ //for (size_t i = 0; i < size; i += 2) ++ //{ ++ // unicode_t ch = (data[i] << 8) | data[i+1]; ++ // writer.writeChars((const unsigned char*) &ch, 2); ++ //} ++ // Right code ++ unsigned char *pdata = (unsigned char *) data.c_str(); + for (size_t i = 0; i < size; i += 2) + { +- unicode_t ch = (data[i] << 8) | data[i+1]; ++ unicode_t ch = (pdata[i] << 8) | pdata[i+1]; + writer.writeChars((const unsigned char*) &ch, 2); + } ++ // End patch + } + return writer.getCur() - beg; + } diff --git a/srcpkgs/id3lib/patches/50-remove-outdated-check.patch b/srcpkgs/id3lib/patches/50-remove-outdated-check.patch new file mode 100644 index 0000000000..ca85a65612 --- /dev/null +++ b/srcpkgs/id3lib/patches/50-remove-outdated-check.patch @@ -0,0 +1,10 @@ +--- configure.in ++++ configure.in +@@ -227,7 +227,6 @@ + ) + AC_CHECK_HEADERS( \ + string \ +- iomanip.h \ + ,,AC_MSG_ERROR([Missing a vital header file for id3lib]) + ) + diff --git a/srcpkgs/id3lib/patches/60-id3lib-missing-nullpointer-check.patch b/srcpkgs/id3lib/patches/60-id3lib-missing-nullpointer-check.patch new file mode 100644 index 0000000000..cdf9303347 --- /dev/null +++ b/srcpkgs/id3lib/patches/60-id3lib-missing-nullpointer-check.patch @@ -0,0 +1,12 @@ +This patch adds a check for a null pointer +--- src/header_tag.cpp ++++ src/header_tag.cpp +@@ -54,7 +54,7 @@ + { + size_t bytesUsed = ID3_TagHeader::SIZE; + +- if (_info->is_extended) ++ if (_info && _info->is_extended) + { + bytesUsed += _info->extended_bytes; + } diff --git a/srcpkgs/id3lib/patches/61-fix_vbr_stack_smash.patch b/srcpkgs/id3lib/patches/61-fix_vbr_stack_smash.patch new file mode 100644 index 0000000000..984a1f7324 --- /dev/null +++ b/srcpkgs/id3lib/patches/61-fix_vbr_stack_smash.patch @@ -0,0 +1,19 @@ +Description: Fix crashes when reading VBR MP3 file. +Bug-Ubuntu: https://launchpad.net/bugs/444466 +Origin: upstream, http://sourceforge.net/tracker/?func=detail&aid=937707&group_id=979&atid=300979 +Forwarded: yes +Author: Urs Fleisch + +Index: id3lib3.8.3-3.8.3/src/mp3_parse.cpp +=================================================================== +--- src/mp3_parse.cpp 2009-10-06 23:12:10.381250132 +0200 ++++ src/mp3_parse.cpp 2009-10-06 23:14:09.545252591 +0200 +@@ -465,7 +465,7 @@ + // from http://www.xingtech.com/developer/mp3/ + + const size_t VBR_HEADER_MIN_SIZE = 8; // "xing" + flags are fixed +- const size_t VBR_HEADER_MAX_SIZE = 116; // frames, bytes, toc and scale are optional ++ const size_t VBR_HEADER_MAX_SIZE = 120; // frames, bytes, toc and scale are optional + + if (mp3size >= vbr_header_offest + VBR_HEADER_MIN_SIZE) + { diff --git a/srcpkgs/id3lib/template b/srcpkgs/id3lib/template new file mode 100644 index 0000000000..c27ff4ca01 --- /dev/null +++ b/srcpkgs/id3lib/template @@ -0,0 +1,30 @@ +# Template file for 'id3lib' +pkgname=id3lib +version=3.8.3 +revision=1 +build_style=gnu-configure +hostmakedepends="libtool automake autoconf" +makedepends="zlib-devel" +depends="" +short_desc="Library for reading, writing, and manipulating ID3v1 and ID3v2 tags" +maintainer="Christian Neukirchen " +license="LGPL-3" +homepage="http://id3lib.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +checksum=2749cc3c0cd7280b299518b1ddf5a5bcfe2d1100614519b68702230e26c7d079 + +pre_configure() { + libtoolize -fc + aclocal + autoconf + automake --add-missing --copy +} + +id3lib-devel_package() { + depends="$makedepends ${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} diff --git a/srcpkgs/mairix/template b/srcpkgs/mairix/template index 92bd0c4416..13a34074ab 100644 --- a/srcpkgs/mairix/template +++ b/srcpkgs/mairix/template @@ -1,9 +1,9 @@ # Template file for 'mairix' pkgname=mairix version=0.23 -revision=1 +revision=2 build_style=configure -configure_args="--prefix=/usr" +configure_args="--prefix=/usr --mandir=/usr/share/man" makedepends="flex bison bzip2-devel zlib-devel" short_desc="A program for indexing and searching emails" maintainer="Christian Neukirchen " diff --git a/srcpkgs/mdadm/patches/00-comma.patch b/srcpkgs/mdadm/patches/00-comma.patch new file mode 100644 index 0000000000..9899de701e --- /dev/null +++ b/srcpkgs/mdadm/patches/00-comma.patch @@ -0,0 +1,11 @@ +--- super-intel.c- 2014-07-06 16:31:53.865139451 +0200 ++++ super-intel.c 2014-07-06 16:31:45.646139350 +0200 +@@ -5075,7 +5075,7 @@ + spare->num_disks = 1, + spare->num_raid_devs = 0, + spare->cache_size = mpb->cache_size, +- spare->pwr_cycle_count = __cpu_to_le32(1), ++ spare->pwr_cycle_count = __cpu_to_le32(1); + + snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH, + MPB_SIGNATURE MPB_VERSION_RAID0); diff --git a/srcpkgs/mdadm/template b/srcpkgs/mdadm/template new file mode 100644 index 0000000000..824ed0bf42 --- /dev/null +++ b/srcpkgs/mdadm/template @@ -0,0 +1,18 @@ +# Template file for 'mdadm' +pkgname=mdadm +version=3.3.1 +revision=1 +build_style=gnu-makefile +hostmakedepends="pkg-config" +makedepends="eudev-libudev-devel" +short_desc="A tool for managing/monitoring Linux md device arrays" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://neil.brown.name/blog/mdadm" +distfiles="ftp://ftp.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=d8c74112cfd77bdc1dbc1291fe8d9243c76d91bfa276fcb95f2a75ca7717ab02 + +do_install() { + make CC=${CC} BINDIR=/usr/sbin STRIP=-s + vsconf mdadm.conf-example mdadm.conf +} diff --git a/srcpkgs/mozplugger/template b/srcpkgs/mozplugger/template new file mode 100644 index 0000000000..35f67d2914 --- /dev/null +++ b/srcpkgs/mozplugger/template @@ -0,0 +1,24 @@ +# Template file for 'mozplugger' +pkgname=mozplugger +version=2.1.6 +revision=1 +build_style=gnu-configure +makedepends="libX11-devel" +depends="m4" +conf_file="/etc/mozpluggerrc" +short_desc="Firefox plugin to embed arbitrary applications" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://mozplugger.mozdev.org" +distfiles="http://mozplugger.mozdev.org/files/${pkgname}-${version}.tar.gz" +checksum=294cf06ad37b8d89e57ee9c4dc9e7549fd1b0dcec9769171d65dad36099e5fef + +do_install() { + vbin mozplugger-helper + vbin mozplugger-controller + vbin mozplugger-linker + vbin mozplugger-update + vinstall mozplugger.so 644 usr/lib/mozilla/plugins + vinstall mozpluggerrc 644 etc + vman mozplugger.7 +} diff --git a/srcpkgs/netcat/template b/srcpkgs/netcat/template index 18f906a6cc..c3e25583a0 100644 --- a/srcpkgs/netcat/template +++ b/srcpkgs/netcat/template @@ -1,9 +1,10 @@ # Template file for 'netcat' pkgname=netcat version=0.7.1 -revision=3 +revision=4 build_style=gnu-configure short_desc="The GNU netcat utility" +replaces="netcat>=0" maintainer="Juan RP " license="GPL-2" homepage="http://netcat.sourceforge.net/" diff --git a/srcpkgs/offlineimap/template b/srcpkgs/offlineimap/template new file mode 100644 index 0000000000..7cf89fd741 --- /dev/null +++ b/srcpkgs/offlineimap/template @@ -0,0 +1,23 @@ +# Template file for 'offlineimap' +pkgname=offlineimap +version=6.5.6 +revision=1 +noarch=yes +build_style=python-module +python_versions="2.7" +hostmakedepends="python-setuptools python-docutils" +depends="python" +pycompile_module="offlineimap" +short_desc="ISO 8601 date/time/duration parser and formatter (Python2)" +maintainer="Juan RP " +homepage="http://offlineimap.org/" +license="GPL-2" +distfiles="https://github.com/OfflineIMAP/offlineimap/archive/v${version}.tar.gz" +checksum=c23219cdbbae7fe12346ece94c427737fd4083720a124fff6f95a26c56f728c3 + +post_install() { + rst2man docs/MANUAL.rst offlineimap.1 + vman offlineimap.1 + vsconf offlineimap.conf + vsconf offlineimap.conf.minimal +} diff --git a/srcpkgs/openbsd-netcat/template b/srcpkgs/openbsd-netcat/template new file mode 100644 index 0000000000..fed4ab0d94 --- /dev/null +++ b/srcpkgs/openbsd-netcat/template @@ -0,0 +1,30 @@ +# Template file for 'openbsd-netcat' +pkgname=openbsd-netcat +version=1.105_7 +revision=1 +hostmakedepends="pkg-config" +makedepends="libbsd-devel" +provides="netcat-${version}_${revision}" +replaces="netcat>=0" +short_desc="TCP/IP swiss army knife. OpenBSD/Debian variant." +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://packages.debian.org/sid/netcat-openbsd" +distfiles="http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${version%_*}.orig.tar.gz + http://ftp.debian.org/debian/pool/main/n/netcat-openbsd/netcat-openbsd_${version/_/-}.debian.tar.gz" +checksum="40653fe66c1516876b61b07e093d826e2a5463c5d994f1b7e6ce328f3edb211e + eee759327ffea293e81d0dde67921b7fcfcad279ffd7a2c9d037bbc8f882b363" +wrksrc="netcat-openbsd-${version%_*}" + +do_build() { + cat ../debian/patches/*.patch | patch -p1 + make ${makejobs} \ + CFLAGS="$CFLAGS -DDEBIAN_VERSION=\"\\\"${version}\\\"\" $(pkg-config libbsd --cflags)" \ + LDFLAGS="$LDFLAGS $(pkg-config libbsd --libs)" +} + +do_install() { + vbin nc + ln -sf nc ${DESTDIR}/usr/bin/netcat + vman nc.1 +} diff --git a/srcpkgs/openbsd-rs/template b/srcpkgs/openbsd-rs/template new file mode 100644 index 0000000000..d5cc49029c --- /dev/null +++ b/srcpkgs/openbsd-rs/template @@ -0,0 +1,18 @@ +# Template file for 'openbsd-rs' +pkgname=openbsd-rs +version=1.22 +revision=1 +wrksrc="rs-${version}" +build_style=gnu-makefile +short_desc="Reshape a data array text file" +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://github.com/chneukirchen/rs" +distfiles="https://github.com/chneukirchen/rs/archive/v${version}.tar.gz" +checksum=30727538ed5c5347fd2f23c483ecece0409befff72cd27f34591520bb636a99c + +do_install() { + vbin rs + vman rs.1 + vlicense README LICENSE +} diff --git a/srcpkgs/paps-devel b/srcpkgs/paps-devel new file mode 120000 index 0000000000..280d20e0ea --- /dev/null +++ b/srcpkgs/paps-devel @@ -0,0 +1 @@ +paps \ No newline at end of file diff --git a/srcpkgs/paps/patches/freetype2.patch b/srcpkgs/paps/patches/freetype2.patch new file mode 100644 index 0000000000..0de3977857 --- /dev/null +++ b/srcpkgs/paps/patches/freetype2.patch @@ -0,0 +1,14 @@ +--- src/libpaps.c 2014-03-19 19:11:54.491351129 -1000 ++++ src/libpaps.c 2014-03-19 19:14:37.795623928 -1000 +@@ -25,8 +25,9 @@ + + #include + #include +-#include +-#include ++#include ++#include FT_GLYPH_H ++#include FT_OUTLINE_H + #include + #include + #include diff --git a/srcpkgs/paps/template b/srcpkgs/paps/template new file mode 100644 index 0000000000..f17a667b04 --- /dev/null +++ b/srcpkgs/paps/template @@ -0,0 +1,25 @@ +# Template file for 'paps' +pkgname=paps +version=0.6.8 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config" +makedepends="pango-devel freetype-devel" +# Disable --as-needed. +make_build_args="LDFLAGS=" +short_desc="UTF-8 to PostScript converter via Pango" +maintainer="Christian Neukirchen " +license="LGPL" +homepage="http://paps.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz" +checksum=db214c4ea7ecde2f7986b869f6249864d3ff364e6f210c15aa2824bcbd850a20 + +paps-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" -- development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + } +} + diff --git a/srcpkgs/perl-Crypt-Blowfish_PP/template b/srcpkgs/perl-Crypt-Blowfish_PP/template new file mode 100644 index 0000000000..26b8eec051 --- /dev/null +++ b/srcpkgs/perl-Crypt-Blowfish_PP/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Crypt-Blowfish_PP'. +pkgname=perl-Crypt-Blowfish_PP +version=1.12 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="Blowfish encryption algorithm implemented purely in Perl" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Crypt-Blowfish_PP" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Crypt/${pkgname/perl-/}-$version.tar.gz" +checksum=714f1a3e94f658029d108ca15ed20f0842e73559ae5fc1faee86d4f2195fcf8c diff --git a/srcpkgs/perl-File-Slurp-Tiny/template b/srcpkgs/perl-File-Slurp-Tiny/template new file mode 100644 index 0000000000..1baf729b8c --- /dev/null +++ b/srcpkgs/perl-File-Slurp-Tiny/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-File-Slurp-Tiny'. +pkgname=perl-File-Slurp-Tiny +version=0.003 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="File::Slurp::Tiny - A simple, sane and efficient file slurper" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/File-Slurp-Tiny" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/File/${pkgname/perl-/}-$version.tar.gz" +checksum=ded61a7ab96db8c6a14466a5984091a60af9b384b3355d06aeaa6433ac977c02 diff --git a/srcpkgs/perl-HTTP-Response-Encoding/template b/srcpkgs/perl-HTTP-Response-Encoding/template new file mode 100644 index 0000000000..4aa37bf16a --- /dev/null +++ b/srcpkgs/perl-HTTP-Response-Encoding/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-HTTP-Response-Encoding'. +pkgname=perl-HTTP-Response-Encoding +version=0.06 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-LWP" +noarch="yes" +short_desc="HTTP::Response::Encoding - Adds encoding() to HTTP::Response" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/HTTP-Response-Encoding" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/HTTP/${pkgname/perl-/}-$version.tar.gz" +checksum=10167b8e238a682004ab0d7accbe9d76eae2db57af07c5ae2dfa808074a4a8aa diff --git a/srcpkgs/perl-HTTP-Server-Simple/template b/srcpkgs/perl-HTTP-Server-Simple/template new file mode 100644 index 0000000000..e53fd0e0c9 --- /dev/null +++ b/srcpkgs/perl-HTTP-Server-Simple/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-HTTP-Server-Simple'. +pkgname=perl-HTTP-Server-Simple +version=0.44 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-URI" +noarch="yes" +short_desc="HTTP::Server::Simple - Lightweight HTTP server" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/HTTP-Server-Simple" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/HTTP/${pkgname/perl-/}-$version.tar.gz" +checksum=cff4f882da63a9a71271e25d1dc9160e64e5dd1195ed0a63894609ada7bb7416 diff --git a/srcpkgs/perl-IO-Socket-SSL/template b/srcpkgs/perl-IO-Socket-SSL/template new file mode 100644 index 0000000000..d820967213 --- /dev/null +++ b/srcpkgs/perl-IO-Socket-SSL/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-IO-Socket-SSL'. +pkgname=perl-IO-Socket-SSL +version=1.988 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-Net-SSLeay perl-URI" +noarch="yes" +short_desc="IO::Socket::SSL -- SSL sockets with IO::Socket interface" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/IO-Socket-SSL/" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/IO/${pkgname/perl-/}-$version.tar.gz" +checksum=2439f633c3d7a2a1b4406d732afb3f842d488343a9a68a5e66896629206e7eb6 diff --git a/srcpkgs/perl-IO-Socket-Socks/template b/srcpkgs/perl-IO-Socket-Socks/template new file mode 100644 index 0000000000..ecb6056059 --- /dev/null +++ b/srcpkgs/perl-IO-Socket-Socks/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-IO-Socket-Socks'. +pkgname=perl-IO-Socket-Socks +version=0.63 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="IO::Socket::Socks - Socks 4/5 client and server" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/IO-Socket-Socks" +license="LGPL" +distfiles="${CPAN_SITE}/IO/${pkgname/perl-/}-$version.tar.gz" +checksum=ccff40aebf739195174188997d57dae99575fe02306a37e94663ff48572d871b diff --git a/srcpkgs/perl-LWP-Protocol-https/template b/srcpkgs/perl-LWP-Protocol-https/template new file mode 100644 index 0000000000..9a4f461177 --- /dev/null +++ b/srcpkgs/perl-LWP-Protocol-https/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-LWP-Protocol-https'. +pkgname=perl-LWP-Protocol-https +version=6.04 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-IO-Socket-SSL perl-Mozilla-CA perl-Net-HTTP perl-LWP" +noarch="yes" +short_desc="LWP::Protocol::https - Provide https support for LWP::UserAgent" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/LWP-Protocol-https" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/LWP/${pkgname/perl-/}-$version.tar.gz" +checksum=1ef67750ee363525cf729b59afde805ac4dc80eaf8d36ca01082a4d78a7af629 diff --git a/srcpkgs/perl-LWP-Protocol-socks/template b/srcpkgs/perl-LWP-Protocol-socks/template new file mode 100644 index 0000000000..43769980ea --- /dev/null +++ b/srcpkgs/perl-LWP-Protocol-socks/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-LWP-Protocol-socks'. +pkgname=perl-LWP-Protocol-socks +version=1.6 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-IO-Socket-SSL perl-LWP-Protocol-https perl-IO-Socket-Socks perl-LWP" +noarch="yes" +short_desc="LWP::Protocol::socks - adds support for the socks protocol" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/LWP-Protocol-socks" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/LWP/${pkgname/perl-/}-$version.tar.gz" +checksum=49fbbf8c876bdcd89013d6353243040e2a3b344abfccd7d534ca32c6ba023c4b diff --git a/srcpkgs/perl-Module-Find/template b/srcpkgs/perl-Module-Find/template new file mode 100644 index 0000000000..0f6f95b249 --- /dev/null +++ b/srcpkgs/perl-Module-Find/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Module-Find'. +pkgname=perl-Module-Find +version=0.12 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="Module::Find - Find and use installed modules in a (sub)category" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Module-Find" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Module/${pkgname/perl-/}-$version.tar.gz" +checksum=f490ed1ae2f5c463858fd1383543e2104a0e29706ea53ceda9f55db29b1c83d1 diff --git a/srcpkgs/perl-Mozilla-CA/template b/srcpkgs/perl-Mozilla-CA/template new file mode 100644 index 0000000000..c6a7242b64 --- /dev/null +++ b/srcpkgs/perl-Mozilla-CA/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Mozilla-CA'. +pkgname=perl-Mozilla-CA +version=20130114 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="Mozilla::CA - Mozilla's CA cert bundle in PEM format" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Mozilla-CA" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Mozilla/${pkgname/perl-/}-$version.tar.gz" +checksum=82342614add1dbca8a00daa1ee55af3e0036245aed7d445537918c045008ccd7 diff --git a/srcpkgs/perl-Net-SSLeay/template b/srcpkgs/perl-Net-SSLeay/template new file mode 100644 index 0000000000..76217f3430 --- /dev/null +++ b/srcpkgs/perl-Net-SSLeay/template @@ -0,0 +1,15 @@ +# Template build file for 'perl-Net-SSLeay'. +pkgname=perl-Net-SSLeay +version=1.63 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18 openssl" +makedepends="${hostmakedepends} openssl-devel" +depends="${hostmakedepends}" +short_desc="Net::SSLeay - Perl extension for using OpenSSL" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Net-SSLeay/" +license="BSD" +distfiles="${CPAN_SITE}/Net/${pkgname/perl-/}-$version.tar.gz" +checksum=8d127c37264bfd76bcd1e2a5dc745b9459c315380eda64c606cda2f4e2bc1b9d diff --git a/srcpkgs/perl-Sub-Uplevel/template b/srcpkgs/perl-Sub-Uplevel/template new file mode 100644 index 0000000000..8b5f280976 --- /dev/null +++ b/srcpkgs/perl-Sub-Uplevel/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Sub-Uplevel'. +pkgname=perl-Sub-Uplevel +version=0.24 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="Sub::Uplevel - apparently run a function in a higher stack frame" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Sub-Uplevel" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Sub/${pkgname/perl-/}-$version.tar.gz" +checksum=0f93f6e9c80b8dcb22c60d0e9df2c2c6d7db10d4d37151f1dfea6e54a3c6fdfb diff --git a/srcpkgs/perl-Test-Warn/template b/srcpkgs/perl-Test-Warn/template new file mode 100644 index 0000000000..123b5cb4d4 --- /dev/null +++ b/srcpkgs/perl-Test-Warn/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Test-Warn'. +pkgname=perl-Test-Warn +version=0.30 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-Tree-DAG_Node" +noarch="yes" +short_desc="Test::Warn - Perl extension to test methods for warnings" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Test-Warn" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Test/${pkgname/perl-/}-$version.tar.gz" +checksum=8197555b94189d919349a03f7058f83861f145af9bee59f505bfe47562144e41 diff --git a/srcpkgs/perl-Tie-IxHash/template b/srcpkgs/perl-Tie-IxHash/template new file mode 100644 index 0000000000..d19008b7f3 --- /dev/null +++ b/srcpkgs/perl-Tie-IxHash/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Tie-IxHash'. +pkgname=perl-Tie-IxHash +version=1.23 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends}" +noarch="yes" +short_desc="Tie::IxHash - ordered associative arrays for Perl" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Tie-IxHash" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Tie/${pkgname/perl-/}-$version.tar.gz" +checksum=fabb0b8c97e67c9b34b6cc18ed66f6c5e01c55b257dcf007555e0b027d4caf56 diff --git a/srcpkgs/perl-Tree-DAG_Node/template b/srcpkgs/perl-Tree-DAG_Node/template new file mode 100644 index 0000000000..cb6944a31a --- /dev/null +++ b/srcpkgs/perl-Tree-DAG_Node/template @@ -0,0 +1,16 @@ +# Template build file for 'perl-Tree-DAG_Node'. +pkgname=perl-Tree-DAG_Node +version=1.22 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends}" +depends="${makedepends} perl-File-Slurp-Tiny" +noarch="yes" +short_desc="Tree::DAG_Node - An N-ary tree" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/Tree-DAG_Node" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/Tree/${pkgname/perl-/}-$version.tgz" +checksum=9ef1213a6734c36992f4bbb8cc9b3267143dd3aca42e8c069d9bc7cab24f4dba diff --git a/srcpkgs/perl-WWW-Mechanize/template b/srcpkgs/perl-WWW-Mechanize/template new file mode 100644 index 0000000000..ffcb93ceac --- /dev/null +++ b/srcpkgs/perl-WWW-Mechanize/template @@ -0,0 +1,18 @@ +# Template build file for 'perl-WWW-Mechanize'. +pkgname=perl-WWW-Mechanize +version=1.73 +revision=1 +wrksrc="${pkgname/perl-/}-${version}" +build_style=perl-module +hostmakedepends="perl>=5.18" +makedepends="${hostmakedepends} perl-LWP perl-HTML-Parser perl-URI + perl-HTTP-Response-Encoding perl-HTTP-Server-Simple + perl-Test-Warn perl-HTML-Form" +depends="${makedepends}" +noarch="yes" +short_desc="WWW::Mechanize - Handy web browsing in a Perl object" +maintainer="Christian Neukirchen " +homepage="http://search.cpan.org/dist/WWW-Mechanize" +license="Artistic, GPL-1" +distfiles="${CPAN_SITE}/WWW/${pkgname/perl-/}-$version.tar.gz" +checksum=e9d56c921ce8f09a9087031249945f27383e29cee28b1e0a46c473d894423cff diff --git a/srcpkgs/purple-plugin-pack/template b/srcpkgs/purple-plugin-pack/template new file mode 100644 index 0000000000..6ec40a6607 --- /dev/null +++ b/srcpkgs/purple-plugin-pack/template @@ -0,0 +1,13 @@ +# Template file for 'purple-plugin-pack' +pkgname=purple-plugin-pack +version=2.7.0 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config intltool" +makedepends="libpurple-devel pidgin-devel finch-devel" +short_desc="Compilation of plugins for the libpurple family of IM clients" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="https://bitbucket.org/rekkanoryo/purple-plugin-pack" +distfiles="https://bitbucket.org/rekkanoryo/$pkgname/downloads/$pkgname-$version.tar.bz2" +checksum=2bbcf5e778a33968ba7f2864d2a6cb526a8984be3e4151642a583eee8eafb03c diff --git a/srcpkgs/pystopwatch/template b/srcpkgs/pystopwatch/template new file mode 100644 index 0000000000..f7b10dd42c --- /dev/null +++ b/srcpkgs/pystopwatch/template @@ -0,0 +1,18 @@ +# Template file for 'pystopwatch' +pkgname=pystopwatch +version=2012.12.24.1 +noarch=yes +revision=1 +depends="python pygtk librsvg" +short_desc="A GTK2+ stopwatch written in Python" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://xyne.archlinux.ca/projects/pystopwatch" +distfiles="http://xyne.archlinux.ca/projects/${pkgname}/src/${pkgname}-${version}.tar.xz" +checksum=d74b6b6e5263e40ce45c0333df1f44e618d87a967d02e0c911782b3ebfdd2a94 + +do_install() { + vbin pystopwatch + gunzip man/pystopwatch.1.gz + vman man/pystopwatch.1 +} diff --git a/srcpkgs/radvd/template b/srcpkgs/radvd/template new file mode 100644 index 0000000000..80470a74ca --- /dev/null +++ b/srcpkgs/radvd/template @@ -0,0 +1,19 @@ +# Template file for 'radvd' +pkgname=radvd +version=1.14 +revision=1 +build_style=gnu-configure +hostmakedepends="pkg-config bison flex" +makedepends="libdaemon-devel" +conf_files="/etc/radvd.conf" +short_desc="IPv6 Router Advertisement Daemon" +maintainer="Christian Neukirchen " +license="custom" +homepage="http://www.litech.org/radvd/" +distfiles="http://www.litech.org/radvd/dist/${pkgname}-${version}.tar.xz" +checksum=33db1305e4a80baeb71f603e5cdee4f26f9b6bb4db299c68bf33aaeda79b0eb3 + +post_install() { + vinstall radvd.conf.example 644 etc radvd.conf + vlicense COPYRIGHT LICENSE +} diff --git a/srcpkgs/rcs/template b/srcpkgs/rcs/template new file mode 100644 index 0000000000..2c09fbf434 --- /dev/null +++ b/srcpkgs/rcs/template @@ -0,0 +1,13 @@ +# Template file for 'rcs' +pkgname=rcs +version=5.9.2 +revision=1 +build_style=gnu-configure +hostmakedepends="ed groff" +depends="ed" +short_desc="Revision Control System" +maintainer="Christian Neukirchen " +license="GPL-3" +homepage="http://www.gnu.org/software/rcs/" +distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" +checksum=651af3429ccfaa7d0d10b64214a9fe7b77b33ed958f233532b6026f5e8adb571 diff --git a/srcpkgs/simple-mtpfs/template b/srcpkgs/simple-mtpfs/template new file mode 100644 index 0000000000..d68353f6a4 --- /dev/null +++ b/srcpkgs/simple-mtpfs/template @@ -0,0 +1,18 @@ +# Template file for 'simple-mtpfs' +pkgname=simple-mtpfs +version=0.2 +revision=1 +wrksrc="${pkgname}-${pkgname}-${version}" +build_style=gnu-configure +hostmakedepends="pkg-config automake autoconf" +makedepends="fuse-devel libmtp-devel" +short_desc="A FUSE filesystem that supports reading/writing from MTP devices" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="https://github.com/phatina/simple-mtpfs/" +distfiles="https://github.com/phatina/simple-mtpfs/archive/${pkgname}-${version}.tar.gz" +checksum=3ce41fb194971041aa6ad15292a6cdad70eb8b5fc3e7a03a638bc3cac0c515ea + +pre_configure() { + ./autogen.sh +} diff --git a/srcpkgs/stunnel/template b/srcpkgs/stunnel/template new file mode 100644 index 0000000000..b2b44d1e43 --- /dev/null +++ b/srcpkgs/stunnel/template @@ -0,0 +1,19 @@ +# Template file for 'stunnel' +pkgname=stunnel +version=5.02 +revision=1 +build_style=gnu-configure +configure_args="--enable-ipv6" +makedepends="openssl-devel" +short_desc="SSL encryption wrapper" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="https://www.stunnel.org/" +distfiles="https://www.stunnel.org/downloads/$pkgname-$version.tar.gz" +checksum=c258b71d7f82bba5b0a4ccc69fbda632f1fefe9108589a92aa1016f33985973e + +post_install() { + rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8 + vman doc/stunnel.fr.8 + vman doc/stunnel.pl.8 +} diff --git a/srcpkgs/sysstat/template b/srcpkgs/sysstat/template new file mode 100644 index 0000000000..d984a4b412 --- /dev/null +++ b/srcpkgs/sysstat/template @@ -0,0 +1,22 @@ +# Template file for 'sysstat' +pkgname=sysstat +version=11.0.0 +revision=1 +build_style=gnu-configure +configure_args="--with-systemdsystemunitdir=none --enable-yesterday --enable-install-cron --enable-install-isag" +make_dirs="/var/log/sa 0755 root root" +hostmakedepends="pkg-config" +depends="lm-sensors" +short_desc="A collection of performance monitoring tools" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://pagesperso-orange.fr/sebastien.godard/" +distfiles="http://pagesperso-orange.fr/sebastien.godard/${pkgname}-${version}.tar.gz" +checksum=e67cbf35a8842c3cf3c39314b628611fb59c30de0da679ac68b195714be14253 + +pre_configure() { + sed -i 's/lib64/lib/' configure + export conf_dir=/etc/default + vmkdir etc/cron.daily + vmkdir etc/cron.hourly +} diff --git a/srcpkgs/transmission-remote-cli/template b/srcpkgs/transmission-remote-cli/template new file mode 100644 index 0000000000..9b6dbdd39d --- /dev/null +++ b/srcpkgs/transmission-remote-cli/template @@ -0,0 +1,18 @@ +# Template file for 'transmission-remote-cli' +pkgname=transmission-remote-cli +version=1.7.0 +noarch=yes +revision=1 +depends="transmission python python-simplejson" +short_desc="Curses interface for the BitTorrent client Transmission" +maintainer="Christian Neukirchen " +license="GPL-3" +homepage="https://github.com/fagga/transmission-remote-cli" +distfiles="https://github.com/fagga/transmission-remote-cli/archive/v${version}.tar.gz" +checksum=d20ba26cd05bd5a5d55a5990b861bf9cd4286a54f720d22041838a51cf60db62 + +do_install() { + vbin transmission-remote-cli + vman transmission-remote-cli.1 + vinstall completion/bash/transmission-remote-cli-bash-completion.sh 644 usr/share/bash-completion/completions transmission-remote-cli +} diff --git a/srcpkgs/unbound-devel b/srcpkgs/unbound-devel new file mode 120000 index 0000000000..f53a1fd5a8 --- /dev/null +++ b/srcpkgs/unbound-devel @@ -0,0 +1 @@ +unbound \ No newline at end of file diff --git a/srcpkgs/unbound/files/unbound.conf b/srcpkgs/unbound/files/unbound.conf new file mode 100644 index 0000000000..3c60484855 --- /dev/null +++ b/srcpkgs/unbound/files/unbound.conf @@ -0,0 +1,3 @@ +server: + use-syslog: yes + diff --git a/srcpkgs/unbound/template b/srcpkgs/unbound/template new file mode 100644 index 0000000000..a05c2fe06e --- /dev/null +++ b/srcpkgs/unbound/template @@ -0,0 +1,32 @@ +# Template file for 'unbound' +pkgname=unbound +version=1.4.22 +revision=1 +build_style=gnu-configure +configure_args="--with-libevent --with-conf-file=/etc/unbound/unbound.conf + --with-pidfile=/run/unbound.pid" +conf_file="/etc/unbound/unbound.conf" +makedepends="openssl-devel expat-devel libevent-devel" +system_accounts="unbound" +short_desc="Validating, recursive, and caching DNS resolver" +maintainer="Christian Neukirchen " +license="BSD" +homepage="http://unbound.net/" +distfiles="http://unbound.net/downloads/${pkgname}-${version}.tar.gz" +checksum=1caf5081b2190ecdb23fc4d998b7999e28640c941f53baff7aee03c092a7d29f + +post_install() { + vsconf doc/example.conf unbound.conf + vinstall ${FILESDIR}/unbound.conf 644 etc/unbound +} + +unbound-devel_package() { + depends="unbound>=$version $makedepends" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.a" + vmove "usr/share/man/man3/*.3" + } +} + diff --git a/srcpkgs/vim-gnupg/template b/srcpkgs/vim-gnupg/template new file mode 100644 index 0000000000..2904e402cb --- /dev/null +++ b/srcpkgs/vim-gnupg/template @@ -0,0 +1,19 @@ +# Template file for 'vim-gnupg' +pkgname=vim-gnupg +version=2.5 +revision=1 +noarch=yes +depends="gnupg" +short_desc="Plugin for transparent editing of gpg encrypted files" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.vim.org/scripts/script.php?script_id=3645" +distfiles="http://www.vim.org/scripts/download_script.php?src_id=18070>gnupg.vim" +checksum=e54935e321941fcb18b98385be48c610f6978d88f616253a12d0e339fb00b5f5 +skip_extraction="gnupg.vim" +wrksrc=$pkgname +create_wrksrc=yes + +do_install() { + vinstall ${XBPS_SRCDISTDIR}/${pkgname}-${version}/gnupg.vim 644 usr/share/vim/vimfiles/plugin +} diff --git a/srcpkgs/wavpack/template b/srcpkgs/wavpack/template index daff99753c..d9613073e3 100644 --- a/srcpkgs/wavpack/template +++ b/srcpkgs/wavpack/template @@ -1,7 +1,7 @@ # Template file for 'wavpack' pkgname=wavpack version=4.70.0 -revision=2 +revision=3 build_style=gnu-configure short_desc="An audio codec (lossy and lossless)" homepage="http://www.wavpack.com/" @@ -14,6 +14,10 @@ if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; the configure_args="--enable-mmx" fi +pre_configure() { + sed -i 's/^prefix=.*/&\nexec_&/' wavpack.pc.in +} + libwavpack_package() { short_desc+=" - shared library" pkg_install() { diff --git a/srcpkgs/wmnd/template b/srcpkgs/wmnd/template new file mode 100644 index 0000000000..23413b027a --- /dev/null +++ b/srcpkgs/wmnd/template @@ -0,0 +1,12 @@ +# Template file for 'wmnd' +pkgname=wmnd +version=0.4.17 +revision=1 +build_style=gnu-configure +makedepends="net-snmp-devel libX11-devel libXext-devel libXpm-devel" +short_desc="Dockapp for monitoring network interfaces" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.thregr.org/~wavexx/software/wmnd/" +distfiles="http://www.thregr.org/~wavexx/software/wmnd/releases/${pkgname}-${version}.tar.gz" +checksum=48a07a6bda6871832c38fbca7a17d27606a94ed632f373d9e42f8cfc785cb3aa diff --git a/srcpkgs/x11vnc/template b/srcpkgs/x11vnc/template new file mode 100644 index 0000000000..380169a558 --- /dev/null +++ b/srcpkgs/x11vnc/template @@ -0,0 +1,16 @@ +# Template file for 'x11vnc' +pkgname=x11vnc +version=0.9.13 +revision=1 +build_style=gnu-configure +makedepends="libX11-devel libXtst-devel libXinerama-devel libXdamage-devel libXrandr-devel openssl-devel libjpeg-turbo-devel" +short_desc="VNC server for real X displays" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://www.karlrunge.com/x11vnc/" +distfiles="${SOURCEFORGE_SITE}/libvncserver/${pkgname}/${pkgname}-${version}.tar.gz" +checksum=f6829f2e629667a5284de62b080b13126a0736499fe47cdb447aedb07a59f13b + +post_install() { + rm -r ${DESTDIR}/usr/include/rfb +} diff --git a/srcpkgs/xdu/template b/srcpkgs/xdu/template new file mode 100644 index 0000000000..3c31993d86 --- /dev/null +++ b/srcpkgs/xdu/template @@ -0,0 +1,22 @@ +# Template file for 'xdu' +pkgname=xdu +version=3.0 +revision=1 +wrksrc=$pkgname-$version +create_wrksrc=yes +makedepends="libXaw-devel" +short_desc="Display the output of du(1) in an X window" +maintainer="Christian Neukirchen " +license="custom" +homepage="http://sd.wareonearth.com/~phil/xdu/" +distfiles="http://sd.wareonearth.com/~phil/$pkgname/$pkgname-$version.tar.Z>$pkgname-$version.tar.gz" +checksum=9a8f3748751cc543f88e9b312a72fa1e60c4335b1a57bfac492745512c12dd11 + +do_build() { + $CC $CFLAGS -o xdu xdu.c xwin.c $LDFLAGS -lXt -lXaw -lX11 +} + +do_install() { + vbin xdu + vman xdu.man xdu.1 +} diff --git a/srcpkgs/xtrlock/template b/srcpkgs/xtrlock/template new file mode 100644 index 0000000000..3702415426 --- /dev/null +++ b/srcpkgs/xtrlock/template @@ -0,0 +1,21 @@ +# Template file for 'xtrlock' +pkgname=xtrlock +version=2.6 +revision=1 +makedepends="libX11-devel" +short_desc="Minimal X display lock program" +maintainer="Christian Neukirchen " +license="GPL-2" +homepage="http://packages.debian.org/xtrlock" +distfiles="http://ftp.debian.org/debian/pool/main/x/${pkgname}/${pkgname}_${version}.tar.gz" +checksum=f0acccd39b9beedf1244434045e243cf515ba8653964fe6f3fb9187c640cc3bb + +do_build() { + make -f Makefile.noimake CC="${CC}" CFLAGS="${CFLAGS} -DSHADOW_PWD" \ + LDLIBS="-lX11 -lcrypt" xtrlock +} + +do_install() { + vbin xtrlock + vman xtrlock.man xtrlock.1 +}