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

commit 6ac91f9a10e591fa58ef1e345d915a0b7b2fb46d
Author: crazy <[email protected]>
Date:   Wed Apr 27 18:08:30 2016 +0200

chkconfig-1.3.30c-2-x86_64
* die .. won't even compile anymore
* also we should not allow any app in the repo to still use it

diff --git a/source/base/chkconfig/FrugalBuild 
b/source/base/chkconfig/FrugalBuild
deleted file mode 100644
index 7f429f9..0000000
--- a/source/base/chkconfig/FrugalBuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Compiling Time: 0.03 SBU
-# Maintainer: James Buren <[email protected]>
-# Contributor: Miklos Vajna <[email protected]>
-
-pkgname=chkconfig
-pkgver=1.3.30c
-pkgrel=2
-pkgdesc="Updates and queries runlevel information for system services"
-url="http://www.fastcoder.net/software/chkconfig/";
-depends=('glibc>=2.8-3' 'popt>=1.14-2')
-groups=('base' 'core')
-archs=('i686' 'x86_64' 'arm')
-up2date="$pkgver"
-source=( http://www.fastcoder.net/downloads/$pkgname-$pkgver.tar.gz 
frugalware.patch)
-sha1sums=('5041858adc384863c66e4a4110c951c19e4a690c' \
-          '218905354a6828c8d0e3a439be02d21fbb190552')
-
-build()
-{
-       Fbuild \
-               --with-init-dir=/etc/rc.d \
-               --enable-threads=posix
-       Fmkdir /etc/rc.d/rc{S,0,1,2,3,4,5,6}.d
-}
-
-# optimization OK
diff --git a/source/base/chkconfig/frugalware.patch 
b/source/base/chkconfig/frugalware.patch
deleted file mode 100644
index 9dac5ee..0000000
--- a/source/base/chkconfig/frugalware.patch
+++ /dev/null
@@ -1,82 +0,0 @@
-diff -Naur chkconfig-1.3.30c/chkconfig.c chkconfig-1.3.30c-p/chkconfig.c
---- chkconfig-1.3.30c/chkconfig.c      2007-04-01 23:36:25.000000000 +0200
-+++ chkconfig-1.3.30c-p/chkconfig.c    2008-03-10 15:14:15.000000000 +0100
-@@ -202,13 +202,14 @@
-
-               /* Skip files with known bad extensions */
-               if ((dn = strrchr(ent->d_name, '.')) != NULL &&
--                  (!strcmp(dn, ".rpmsave") || !strcmp(dn, ".rpmnew") || 
!strcmp(dn, ".rpmorig") || !strcmp(dn, ".swp")))
-+                  (!strcmp(dn, ".rpmsave") || !strcmp(dn, ".rpmnew") || 
!strcmp(dn, ".rpmorig") || !strcmp(dn, ".swp")
-+                      || !strcmp(dn, ".pacnew") || !strcmp(dn, ".pacsave") || 
!strcmp(dn, ".pacorig")))
-                       continue;
--
-+
-               dn = ent->d_name + strlen(ent->d_name) - 1;
-               if (*dn == '~' || *dn == ',')
-                       continue;
--
-+
-               sprintf(fn, "%s/%s", conf.initdir, ent->d_name);
-               if (stat(fn, &sb)) {
-                       continue;
-@@ -224,7 +225,6 @@
-       do {
-               nResolved = 0;
-               int i;
--
-               for (i = 0; i < numservs ; i++) {
-                       if ((servs+i)->isLSB)
-                               nResolved += frobOneDependencies(servs+i, 
servs, numservs, 0);
-@@ -244,9 +244,13 @@
-       return 1;
-     }
-
--    printf("start = %d\n", s.sPriority);
--    printf("end = %d\n", s.kPriority);
--
-+    #if 0
-+
-+      printf("start = %d\n", s.sPriority);
-+      printf("end = %d\n", s.kPriority);
-+
-+    #endif
-+
-     if (s.type == TYPE_XINETD) return 0;
-     if (s.isLSB)
-               frobDependencies(&s);
-@@ -343,7 +347,7 @@
-
-     numServicesAlloced = 10;
-     services = malloc(sizeof(*services) * numServicesAlloced);
--
-+
-     if (!(dir = opendir(conf.initdir))) {
-       fprintf(stderr, _("failed to open %s: %s\n"), conf.initdir,
-               strerror(errno));
-@@ -361,13 +365,14 @@
-     (!strcmp(dn, ".rpmsave") || !strcmp(dn, ".rpmnew")
-      || !strcmp(dn, ".rpmorig") || !strcmp(dn, ".swp")
-      || !strcmp(dn, ".dpkg-dist") || !strcmp(dn, ".dpkg-old")
--     || !strcmp(dn, ".dpkg-new")))
-+     || !strcmp(dn, ".dpkg-new") || !strcmp(dn, ".pacsave")
-+     || !strcmp(dn, ".pacnew") || !strcmp(dn, ".pacorig")))
-           continue;
-
-       dn = ent->d_name + strlen(ent->d_name) - 1;
-       if (*dn == '~' || *dn == ',')
-           continue;
--
-+
-       sprintf(fn, "%s/%s", conf.initdir, ent->d_name);
-       if (stat(fn, &sb)) {
-           fprintf(stderr, _("error reading info for service %s: %s\n"),
-@@ -421,7 +426,8 @@
-
-                   /* Skip files with known bad extensions */
-                   if ((dn = strrchr(ent->d_name, '.')) != NULL &&
--                      (!strcmp(dn, ".rpmsave") || !strcmp(dn, ".rpmnew") || 
!strcmp(dn, ".rpmorig") || !strcmp(dn, ".swp")))
-+                      (!strcmp(dn, ".rpmsave") || !strcmp(dn, ".rpmnew") || 
!strcmp(dn, ".rpmorig") || !strcmp(dn, ".swp")
-+                              ||!strcmp(dn, ".pacsave") || !strcmp(dn, 
".pacnew") || !strcmp(dn, ".pacorig")))
-                     continue;
-
-                   dn = ent->d_name + strlen(ent->d_name) - 1;
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to