version bump, thanks to S. Fuchs
authorJon Hood <squinky86@gentoo.org>
Thu, 7 Oct 2004 03:36:05 +0000 (03:36 +0000)
committerJon Hood <squinky86@gentoo.org>
Thu, 7 Oct 2004 03:36:05 +0000 (03:36 +0000)
net-misc/linesrv/ChangeLog
net-misc/linesrv/Manifest
net-misc/linesrv/files/2.1.8-gcc34.patch [deleted file]
net-misc/linesrv/files/digest-linesrv-2.1.19 [new file with mode: 0644]
net-misc/linesrv/files/digest-linesrv-2.1.8 [deleted file]
net-misc/linesrv/files/linesrv.rc6
net-misc/linesrv/linesrv-2.1.19.ebuild [moved from net-misc/linesrv/linesrv-2.1.8.ebuild with 73% similarity]

index 2b1dfe1f7e045d6021690b67f2176bf63c09d01c..244494e09235ed733020efa525b67b3afa23c0bb 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-misc/linesrv
 # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/ChangeLog,v 1.10 2004/09/17 22:49:35 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/ChangeLog,v 1.11 2004/10/07 03:36:05 squinky86 Exp $
+
+*linesrv-2.1.19 (06 Oct 2004)
+
+  06 Oct 2004; Jon Hood <squinky86@gentoo.org> -files/2.1.8-gcc34.patch,
+  files/linesrv.rc6, +linesrv-2.1.19.ebuild, -linesrv-2.1.8.ebuild:
+  Version bump, thanks to S. Fuchs, remove buggy version.
 
   17 Sep 2004; Jon Hood <squinky86@gentoo.org> +files/2.1.8-gcc34.patch,
   linesrv-2.1.8.ebuild:
index 063a09e218ae00f8dacfb2cbf78d915fc28536ec..d8222ece3c594985ec52ac4482d180fff84a615c 100644 (file)
@@ -1,21 +1,20 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
+MD5 3dc5dcc6ce453796b808b3072237f076 linesrv-2.1.19.ebuild 1625
 MD5 f278431712c59f5ac07c17537021d4a9 linesrv-2.1.6-r1.ebuild 1874
-MD5 d26c1800310aea6c325876ef228863c5 ChangeLog 1377
-MD5 6c5afd4d20c8ca13e7bd0e6ed6fbdf88 linesrv-2.1.8.ebuild 1791
+MD5 8413b88c7433dd1c687e6a2630e62258 ChangeLog 1608
 MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
-MD5 29e20aa982eafe8d1a66419009ef82bf files/digest-linesrv-2.1.8 70
 MD5 618cc8195802f0a27d3ad1aa81e40da2 files/lcshutdown.pam 397
-MD5 e45e0182c6d92791d59da6eb7b4ac845 files/2.1.8-gcc34.patch 2511
-MD5 115eb925182365c1c07bc9f85d11a2b6 files/linesrv.rc6 719
+MD5 1eb0c0efc9e1698a66c230af2e202dac files/digest-linesrv-2.1.19 71
+MD5 ac08554018fe0f5bd255dc00ce0f9e50 files/linesrv.rc6 742
 MD5 fcf1fee9b36c1cd1bfb2933c4b6826e3 files/digest-linesrv-2.1.6-r1 70
 MD5 2f68a269a78a78334c93cd286f5234ba files/linecontrol.pam 423
 MD5 2c1ec3d89dfd37fcdc8bc9fa9d35d325 files/linesrv.conf 1285
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFBS2oFcAgAdbxYsnERAm2QAJ9s9HBE1rGQ6dinS720+8705UguiACeJHwW
-pxolyZathHKHuMj1NPb7Szc=
-=pz10
+iD8DBQFBZLmwcAgAdbxYsnERAiW7AJ9v8q+1FkXjSFwHrmvceT+h7ioppACffSFB
+hXx/shd7uaHrUdWQ+33b01E=
+=gJSh
 -----END PGP SIGNATURE-----
diff --git a/net-misc/linesrv/files/2.1.8-gcc34.patch b/net-misc/linesrv/files/2.1.8-gcc34.patch
deleted file mode 100644 (file)
index fb2e8e3..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-diff -Naur linesrv-2.1.vanilla/server/cfg.c linesrv-2.1/server/cfg.c
---- linesrv-2.1.vanilla/server/cfg.c   2002-02-17 06:15:11.000000000 -0600
-+++ linesrv-2.1/server/cfg.c   2004-09-17 17:45:52.167059584 -0500
-@@ -605,6 +605,7 @@
-               }
-               break;
-           default:
-+              ;
-       }
-     }
-  }
-diff -Naur linesrv-2.1.vanilla/server/html_status.c linesrv-2.1/server/html_status.c
---- linesrv-2.1.vanilla/server/html_status.c   2002-02-17 02:44:38.000000000 -0600
-+++ linesrv-2.1/server/html_status.c   2004-09-17 17:45:52.169059280 -0500
-@@ -18,10 +18,10 @@
- {
-     fprintf(where, "<html><head><style type=\"text/css\">\n\
- p, table, br { align: center; font-family: Arial, Helvetica }\n\
--body, td { font-family: Arial, Helvetica }\r\n\
--A { text-decoration: none;\r\n\
--font-style: italic;\r\n\
--font-family: Arial, Helvetica }\r\n\
-+body, td { font-family: Arial, Helvetica }\n\
-+A { text-decoration: none;\n\
-+font-style: italic;\n\
-+font-family: Arial, Helvetica }\n\
- </style></head><body bgcolor=\"#ffffff\" text=\"000080\">\n");
-     fprintf(where, "<center><p><a href=\"http://homepage.swissonline.ch/allenfuchs/stefan/lc/\">\
- <img src=\"/lclog/lc-logo-01.gif\" width=\"246\" height=\"53\" border=\"0\"></a></p>\n\
-diff -Naur linesrv-2.1.vanilla/server/proc.c linesrv-2.1/server/proc.c
---- linesrv-2.1.vanilla/server/proc.c  2001-02-01 10:55:22.000000000 -0600
-+++ linesrv-2.1/server/proc.c  2004-09-17 17:45:52.171058976 -0500
-@@ -224,7 +224,7 @@
-                }
-                break;
-            default:
--           // uh... don't dial -> status would be incorrect
-+           ; // uh... don't dial -> status would be incorrect
-        }
-        if ( who->status == CLT_ONLINE )
-        {
-diff -Naur linesrv-2.1.vanilla/server/proc_lcp3.c linesrv-2.1/server/proc_lcp3.c
---- linesrv-2.1.vanilla/server/proc_lcp3.c     2001-10-28 12:48:52.000000000 -0600
-+++ linesrv-2.1/server/proc_lcp3.c     2004-09-17 17:45:52.172058824 -0500
-@@ -158,7 +158,7 @@
-                           who->status = CLT_OFFLINE;
-                           break;
-                       default:
--                          // uh... don't dial -> status would be incorrect
-+                          ; // uh... don't dial -> status would be incorrect
-           }
-           lcp3_cmd_queue(CMD3_CLIENTSTAT, who, NULL, 0);
-           break; // CMD3_ONLINE
-diff -Naur linesrv-2.1.vanilla/server/user_pam.c linesrv-2.1/server/user_pam.c
---- linesrv-2.1.vanilla/server/user_pam.c      2001-06-30 14:38:41.000000000 -0500
-+++ linesrv-2.1/server/user_pam.c      2004-09-17 17:45:52.173058672 -0500
-@@ -31,6 +31,7 @@
-               rsp[i].resp = strdup("!!");
-               break;
-           default:
-+              ;
-       }
-       rsp[i].resp_retcode = PAM_SUCCESS;
-     }
diff --git a/net-misc/linesrv/files/digest-linesrv-2.1.19 b/net-misc/linesrv/files/digest-linesrv-2.1.19
new file mode 100644 (file)
index 0000000..7de144f
--- /dev/null
@@ -0,0 +1 @@
+MD5 e1201e05e6e4a78a43346bffed757319 linesrv-2.1.19.src.tar.bz2 201205
diff --git a/net-misc/linesrv/files/digest-linesrv-2.1.8 b/net-misc/linesrv/files/digest-linesrv-2.1.8
deleted file mode 100644 (file)
index d45baee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e1e20d6ba19ae9d2a75ce44a3f747be3 linesrv-2.1.8.src.tar.bz2 125651
index 991d2f009c7b5a78cfdee652f4ca861f25e33d67..faf4607c8964b7d96338b270b27d11fb0e74b390 100644 (file)
@@ -1,10 +1,11 @@
 #!/sbin/runscript
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/files/linesrv.rc6,v 1.6 2004/07/15 00:02:02 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/files/linesrv.rc6,v 1.7 2004/10/07 03:36:05 squinky86 Exp $
 
 depend() {
-       need net
+       need net logger
+       use mysql dns
 }
 
 checkconfig() {
similarity index 73%
rename from net-misc/linesrv/linesrv-2.1.8.ebuild
rename to net-misc/linesrv/linesrv-2.1.19.ebuild
index fac4c330a60da1784d85ea896261f877824a4d6a..3d75ea33012365dc2a3f5fdc87e602b2e9508cf2 100644 (file)
@@ -1,37 +1,29 @@
 # Copyright 1999-2004 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/linesrv-2.1.8.ebuild,v 1.4 2004/09/17 22:49:35 squinky86 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/linesrv/linesrv-2.1.19.ebuild,v 1.1 2004/10/07 03:36:05 squinky86 Exp $
 
 inherit eutils
 
-IUSE="pam"
+IUSE="pam mysql"
 
 DESCRIPTION="Client/Server system to control the Internet link of a masquerading server"
-HOMEPAGE="http://linecontrol.sourceforge.net"
+HOMEPAGE="http://linecontrol.srf.ch/"
 
 S=${WORKDIR}/${PN}-2.1
-SRC_URI="mirror://sourceforge/linecontrol/${P}.src.tar.bz2"
-RESTRICT="nomirror"
-#windows client: http://people.ee.ethz.ch/~sfuchs/LineControl/down/wlc-122.zip
+SRC_URI="http://linecontrol.srf.ch/down/${P}.src.tar.bz2"
 
 DEPEND="virtual/libc
-       pam? ( >=sys-libs/pam-0.75 )"
+       pam? ( >=sys-libs/pam-0.75 )
+       mysql? ( >=dev-db/mysql-4 )"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~x86 ~sparc"
 
 [ -z "$HTTPD_ROOT" ] && HTTPD_ROOT=/var/www/localhost
 
-src_unpack() {
-       unpack ${A}
-       cd ${S}
-       epatch ${FILESDIR}/${PV}-gcc34.patch
-}
-
 src_compile() {
-       local myconf
-       use pam || myconf="--disable-pamauth"
-       econf ${myconf} || die "bad configure"
+       econf `use_enable pam pamauth` \
+               `use_enable mysql` || die "bad configure"
        emake || die
 }