summaryrefslogtreecommitdiff
path: root/pcr/netatalk
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-16 00:18:10 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2013-02-16 00:18:10 -0500
commit0174f5578fd28a78c48e99e1730fdae27c0fdb1b (patch)
treea5a2e7697ed94031e7226f7adb508716f3c4b953 /pcr/netatalk
parent49eec46aeb12ce8e0d269ef9a04d48b64b0b5628 (diff)
downloadabslibre-0174f5578fd28a78c48e99e1730fdae27c0fdb1b.tar.gz
abslibre-0174f5578fd28a78c48e99e1730fdae27c0fdb1b.tar.bz2
abslibre-0174f5578fd28a78c48e99e1730fdae27c0fdb1b.zip
Adding packages to pcr
Diffstat (limited to 'pcr/netatalk')
-rw-r--r--pcr/netatalk/PKGBUILD43
-rw-r--r--pcr/netatalk/netatalk.changelog101
-rw-r--r--pcr/netatalk/netatalk.install20
3 files changed, 164 insertions, 0 deletions
diff --git a/pcr/netatalk/PKGBUILD b/pcr/netatalk/PKGBUILD
new file mode 100644
index 000000000..e3d5b265e
--- /dev/null
+++ b/pcr/netatalk/PKGBUILD
@@ -0,0 +1,43 @@
+# Maintainer: SJ_UnderWater
+# Based on netatalk package :
+# Maintainer: Dominik Dingel <mail at wodar dot de>
+# Contributor: William Udovich <nerdzrule7 at earthlink dot net>
+# Contributor: Farhan Yousaf <farhany at xaviya dot com>
+
+pkgname=netatalk
+pkgver=3.0.2
+pkgrel=1
+pkgdesc='A kernel-level implementation of AFP services'
+arch=('i686' 'x86_64' 'mips64el')
+url='http://netatalk.sourceforge.net'
+license=('GPL')
+depends=('avahi>=0.6' 'libldap' 'libgcrypt>=1.2.3' 'libevent')
+replaces=('netatalk-git' 'netatalk2')
+backup=('etc/afp.conf'
+ 'etc/extmap.conf')
+options=('!libtool')
+install=$pkgname.install
+changelog=$pkgname.changelog
+source=(http://iweb.dl.sourceforge.net/project/$pkgname/$pkgname/$pkgver/$pkgname-$pkgver.tar.bz2)
+md5sums=('b5f1c2c4b3a5e64f5bca219415aa1c75')
+
+build() {
+ cd $pkgname-$pkgver
+ msg2 'Fixing...'
+ sed -i -e 's:AC_CONFIG_SUBDIRS:#AC_CONFIG_SUBDIRS:' -e 's/x"linux/x"generic/' macros/netatalk.m4
+ sed -i 's:/lib:/usr/lib:' distrib/initscripts/Makefile.{am,in}
+ sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' {configure.ac,libevent/configure.in}
+ cp /usr/share/automake*/missing .
+ autoreconf -i >/dev/null
+ msg2 'Configuring...'
+ CFLAGS="-Wno-unused-result" ./configure --prefix=/usr --localstatedir=/var/state --sysconfdir=/etc --with-init-style=systemd \
+ --with-cracklib --with-cnid-cdb-backend --enable-pgp-uam --with-libevent=no
+ sed -i -e s/-Ino// -e s/-Lno// etc/netatalk/Makefile
+ msg2 'Making...'
+ make >/dev/null
+}
+package() {
+ cd $pkgname-$pkgver
+ msg2 'Building...'
+ make DESTDIR="$pkgdir" install >/dev/null
+}
diff --git a/pcr/netatalk/netatalk.changelog b/pcr/netatalk/netatalk.changelog
new file mode 100644
index 000000000..b1ada018b
--- /dev/null
+++ b/pcr/netatalk/netatalk.changelog
@@ -0,0 +1,101 @@
+2012-10-08 SJ_UnderWater
+
+ * 3.0.1-3 :
+ moved systemd from /etc
+ better rc.d install test
+
+2012-10-05 SJ_UnderWater
+
+ * 3.0.1-2 :
+ removed rc.d references
+
+2012-10-04 SJ_UnderWater
+
+ * 3.0.1-1 :
+ new version
+ moved to systemd
+ moved state to /var/db
+
+2012-07-14 SJ_UnderWater
+
+ * 3.0-3 :
+ moved localstate dir
+ to /etc for historical
+ reasons
+
+2012-07-12 SJ_UnderWater
+
+ * 3.0-2 :
+ disable bundled libevent
+
+2012-07-11 SJ_UnderWater
+
+ * 3.0-1 :
+ updated to new release
+ DDP moved to new pkg
+
+2012-06-12 SJ_UnderWater
+
+ * 2.2.3-4 :
+ added kill timing
+
+2012-06-04 SJ_UnderWater
+
+ * 2.2.3-3 :
+ removed conflicting files
+
+2012-06-02 SJ_UnderWater
+
+ * 2.2.3-2 :
+ Missing UAM links
+
+2012-05-29 SJ_UnderWater
+
+ * 2.2.3-1 :
+ updated package version
+ allowing headers and m4
+
+2012-05-01 SJ_UnderWater
+
+ * 2.2.2-6 :
+ moved to .rc files
+ refactored PKGBUILD
+ install rc.d files
+
+2012-04-25 SJ_UnderWater
+
+ * 2.2.2-5 :
+ init rebuild
+ fix dep check
+ fix get_pid
+ function relocation
+
+2012-04-21 SJ_UnderWater
+
+ * 2.2.2-4 :
+ moved to package()
+ added backup
+ split backup
+ moved depends
+
+2012-04-08 SJ_UnderWater
+
+ * 2.2.2-3 :
+ fixed extra dependencies
+ FHS compliance
+ NAMCAP checking
+ moved cups to optdepends
+
+2012-04-07 SJ_UnderWater
+
+ * 2.2.2-2 :
+ added Install
+ changed "conflicts" with "replace"
+ cleaned up PKGBUILD
+
+ * 2.2.2-1 :
+ added ChangeLog.
+ moved to split package format
+ bidirectional dependency-checking
+ moved to release package format
+ PKGBUILD compliance
diff --git a/pcr/netatalk/netatalk.install b/pcr/netatalk/netatalk.install
new file mode 100644
index 000000000..629586531
--- /dev/null
+++ b/pcr/netatalk/netatalk.install
@@ -0,0 +1,20 @@
+post_install() {
+ post_upgrade
+}
+post_upgrade() {
+ if [ -f /etc/rc.conf ] && [ "`grep -E '(cnid|atalkd|afpd)' /etc/rc.conf`" ];then
+ echo '>>> Detected old netatalk daemon entries in';
+ echo '>>> /etc/rc.conf, please replace these with';
+ echo '>>> "netatalk" before restarting!';
+ else echo '>>> Add "netatalk" to your DAEMONS list';fi
+ echo '>>>';
+ if [ -f /etc/avahi/services/adisk.service ] ||
+ [ -f /etc/avahi/services/afpd.service ];then
+ echo '>>> Detected old netatalk service files in';
+ echo '>>> /etc/avahi/services, please delete these';
+ echo '>>> before restarting!';fi
+ if [ -f /opt/netatalk/afp_signature.conf ] ||
+ [ -f /opt/netatalk/afp_voluuid.conf ]; then
+ echo '>>> Found *.conf in /opt/netatalk, please';
+ echo '>>> migrate these to /etc/netatalk before restarting';fi
+}