Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=d54df3a30c2b14e3a47a2fe8c489cc208269d05d

commit d54df3a30c2b14e3a47a2fe8c489cc208269d05d
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Wed May 14 21:53:05 2008 +0200

popa3d-1.0.2-1-i686
- moved to extra

diff --git a/source/network-extra/popa3d/FrugalBuild 
b/source/network-extra/popa3d/FrugalBuild
new file mode 100644
index 0000000..dbbadee
--- /dev/null
+++ b/source/network-extra/popa3d/FrugalBuild
@@ -0,0 +1,24 @@
+# Compiling Time: 0.01 SBU
+# Contributor: VMiklos <[EMAIL PROTECTED]>
+# Maintainer: voroskoi <[EMAIL PROTECTED]>
+
+pkgname=popa3d
+pkgver=1.0.2
+pkgrel=1
+pkgdesc="A Post Office Protocol version 3 (POP3) server"
+url="http://www.openwall.com/popa3d/";
+groups=('network-extra')
+archs=('i686' 'x86_64')
+depends=('openssl')
+up2date="lynx -dump $url |grep -m1 popa3d-.*gz|Flasttar"
+source=(http://www.openwall.com/$pkgname/$pkgname-$pkgver.tar.gz 
popa3d-$pkgver.diff)
+sha1sums=('85779cfc657050352b3bcda5ca7f1dfe7ac4e92b' \
+       'c91b1596096f376dd21e92f225cb13bf9f38ae7b')
+
+build() {
+       Fsed "-Wall -O2" "$CFLAGS" Makefile
+       Fbuild
+       Fmkdir /var/spool/pop
+}
+
+# optimization OK
diff --git a/source/network-extra/popa3d/popa3d-1.0.2.diff 
b/source/network-extra/popa3d/popa3d-1.0.2.diff
new file mode 100644
index 0000000..372f812
--- /dev/null
+++ b/source/network-extra/popa3d/popa3d-1.0.2.diff
@@ -0,0 +1,67 @@
+diff -Naur popa3d-1.0.orig/Makefile popa3d-1.0/Makefile
+--- popa3d-1.0.orig/Makefile   2003-11-17 01:43:35.000000000 +0100
++++ popa3d-1.0/Makefile        2005-06-11 20:38:32.000000000 +0200
+@@ -5,11 +5,11 @@
+ INSTALL = install -c
+ CFLAGS = -Wall -O2 -fomit-frame-pointer
+ # You may use OpenSSL's MD5 routines instead of the ones supplied here
+-#CFLAGS += -DHAVE_OPENSSL
++CFLAGS += -DHAVE_OPENSSL
+ LDFLAGS = -s
+ LIBS =
+ # Linux with glibc, FreeBSD, NetBSD
+-#LIBS += -lcrypt
++LIBS += -lcrypt
+ # HP-UX trusted system
+ #LIBS += -lsec
+ # Solaris (POP_STANDALONE, POP_VIRTUAL)
+@@ -21,10 +21,10 @@
+ # libwrap may also want this
+ #LIBS += -lnsl
+ # OpenSSL (-DHAVE_OPENSSL)
+-#LIBS += -lcrypto
++LIBS += -lcrypto
+
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr
+ SBINDIR = $(PREFIX)/sbin
+ MANDIR = $(PREFIX)/man
+
+diff -Naur popa3d-1.0.orig/params.h popa3d-1.0/params.h
+--- popa3d-1.0.orig/params.h   2005-05-26 17:35:15.000000000 +0200
++++ popa3d-1.0/params.h        2005-06-11 20:46:05.000000000 +0200
+@@ -13,7 +13,7 @@
+ /*
+  * Are we going to be a standalone server or start via an inetd clone?
+  */
+-#define POP_STANDALONE                        0
++#define POP_STANDALONE                        1
+
+ #if POP_STANDALONE
+
+@@ -103,13 +103,13 @@
+  * A pseudo-user to run as before authentication.  The user and its UID
+  * must not be used for any other purpose.
+  */
+-#define POP_USER                      POP_SERVER
++#define POP_USER                      "pop"
+
+ /*
+  * An empty directory to chroot to before authentication.  The directory
+  * and its parent directories must not be writable by anyone but root.
+  */
+-#define POP_CHROOT                    "/var/empty"
++#define POP_CHROOT                    "/var/spool/pop"
+
+ /*
+  * Sessions will be closed if idle for longer than POP_TIMEOUT seconds.
+@@ -191,7 +191,7 @@
+  *
+  * #undef this for qmail-style $HOME/Mailbox mailboxes.
+  */
+-#define MAIL_SPOOL_PATH                       "/var/mail"
++#define MAIL_SPOOL_PATH                       "/var/spool/mail"
+
+ #ifndef MAIL_SPOOL_PATH
+ /*
diff --git a/source/network-extra/popa3d/popa3d.install 
b/source/network-extra/popa3d/popa3d.install
new file mode 100644
index 0000000..bb3a363
--- /dev/null
+++ b/source/network-extra/popa3d/popa3d.install
@@ -0,0 +1,24 @@
+# arg 1:  the new package version
+post_install() {
+       sed -i 's/^#pop3/pop3/' /etc/inetd.conf
+}
+
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+       /bin/true
+}
+
+# arg 1:  the old package version
+pre_remove() {
+       /bin/true
+}
+
+# arg 1:  the old package version
+post_remove() {
+       sed -i 's/^pop3/#pop3/' /etc/inetd.conf
+}
+
+op=$1
+shift
+$op $*
diff --git a/source/network/popa3d/FrugalBuild 
b/source/network/popa3d/FrugalBuild
deleted file mode 100644
index 02b32f4..0000000
--- a/source/network/popa3d/FrugalBuild
+++ /dev/null
@@ -1,24 +0,0 @@
-# Compiling Time: 0.01 SBU
-# Contributor: VMiklos <[EMAIL PROTECTED]>
-# Maintainer: voroskoi <[EMAIL PROTECTED]>
-
-pkgname=popa3d
-pkgver=1.0.2
-pkgrel=1
-pkgdesc="A Post Office Protocol version 3 (POP3) server"
-url="http://www.openwall.com/popa3d/";
-groups=('network')
-archs=('i686' 'x86_64')
-depends=('openssl')
-up2date="lynx -dump $url |grep -m1 popa3d-.*gz|Flasttar"
-source=(http://www.openwall.com/$pkgname/$pkgname-$pkgver.tar.gz 
popa3d-$pkgver.diff)
-sha1sums=('85779cfc657050352b3bcda5ca7f1dfe7ac4e92b' \
-       'c91b1596096f376dd21e92f225cb13bf9f38ae7b')
-
-build() {
-       Fsed "-Wall -O2" "$CFLAGS" Makefile
-       Fbuild
-       Fmkdir /var/spool/pop
-}
-
-# optimization OK
diff --git a/source/network/popa3d/popa3d-1.0.2.diff 
b/source/network/popa3d/popa3d-1.0.2.diff
deleted file mode 100644
index 372f812..0000000
--- a/source/network/popa3d/popa3d-1.0.2.diff
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -Naur popa3d-1.0.orig/Makefile popa3d-1.0/Makefile
---- popa3d-1.0.orig/Makefile   2003-11-17 01:43:35.000000000 +0100
-+++ popa3d-1.0/Makefile        2005-06-11 20:38:32.000000000 +0200
-@@ -5,11 +5,11 @@
- INSTALL = install -c
- CFLAGS = -Wall -O2 -fomit-frame-pointer
- # You may use OpenSSL's MD5 routines instead of the ones supplied here
--#CFLAGS += -DHAVE_OPENSSL
-+CFLAGS += -DHAVE_OPENSSL
- LDFLAGS = -s
- LIBS =
- # Linux with glibc, FreeBSD, NetBSD
--#LIBS += -lcrypt
-+LIBS += -lcrypt
- # HP-UX trusted system
- #LIBS += -lsec
- # Solaris (POP_STANDALONE, POP_VIRTUAL)
-@@ -21,10 +21,10 @@
- # libwrap may also want this
- #LIBS += -lnsl
- # OpenSSL (-DHAVE_OPENSSL)
--#LIBS += -lcrypto
-+LIBS += -lcrypto
-
- DESTDIR =
--PREFIX = /usr/local
-+PREFIX = /usr
- SBINDIR = $(PREFIX)/sbin
- MANDIR = $(PREFIX)/man
-
-diff -Naur popa3d-1.0.orig/params.h popa3d-1.0/params.h
---- popa3d-1.0.orig/params.h   2005-05-26 17:35:15.000000000 +0200
-+++ popa3d-1.0/params.h        2005-06-11 20:46:05.000000000 +0200
-@@ -13,7 +13,7 @@
- /*
-  * Are we going to be a standalone server or start via an inetd clone?
-  */
--#define POP_STANDALONE                        0
-+#define POP_STANDALONE                        1
-
- #if POP_STANDALONE
-
-@@ -103,13 +103,13 @@
-  * A pseudo-user to run as before authentication.  The user and its UID
-  * must not be used for any other purpose.
-  */
--#define POP_USER                      POP_SERVER
-+#define POP_USER                      "pop"
-
- /*
-  * An empty directory to chroot to before authentication.  The directory
-  * and its parent directories must not be writable by anyone but root.
-  */
--#define POP_CHROOT                    "/var/empty"
-+#define POP_CHROOT                    "/var/spool/pop"
-
- /*
-  * Sessions will be closed if idle for longer than POP_TIMEOUT seconds.
-@@ -191,7 +191,7 @@
-  *
-  * #undef this for qmail-style $HOME/Mailbox mailboxes.
-  */
--#define MAIL_SPOOL_PATH                       "/var/mail"
-+#define MAIL_SPOOL_PATH                       "/var/spool/mail"
-
- #ifndef MAIL_SPOOL_PATH
- /*
diff --git a/source/network/popa3d/popa3d.install 
b/source/network/popa3d/popa3d.install
deleted file mode 100644
index bb3a363..0000000
--- a/source/network/popa3d/popa3d.install
+++ /dev/null
@@ -1,24 +0,0 @@
-# arg 1:  the new package version
-post_install() {
-       sed -i 's/^#pop3/pop3/' /etc/inetd.conf
-}
-
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-       /bin/true
-}
-
-# arg 1:  the old package version
-pre_remove() {
-       /bin/true
-}
-
-# arg 1:  the old package version
-post_remove() {
-       sed -i 's/^pop3/#pop3/' /etc/inetd.conf
-}
-
-op=$1
-shift
-$op $*
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to