Changeset 1616

Show
Ignore:
Timestamp:
05/11/06 12:52:23 (3 years ago)
Author:
benjamin
Message:

Remplacement des scripts C setuid par des scripts perl, AlternC is now arch indep \!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/debian/changelog

    r1569 r1616  
     1alternc (0.9.6) stable; urgency=low 
     2 
     3  * Replacing C setuid scripts by perl-suid one. AlternC is now arch-indep ! 
     4 
     5 -- Benjamin Sonntag <benjamin@alternc.org>  Thu, 11 May 2006 12:40:56 +0200 
     6 
    17alternc (0.9.5) stable; urgency=low 
    28 
  • alternc/trunk/debian/control

    r1569 r1616  
    44Maintainer: Benjamin Sonntag <benjamin@alternc.org> 
    55Uploader: Antoine Beaupre <anarcat@koumbit.org> 
    6 Build-Depends: debhelper (>= 4.0.2), findutils (>= 4.1.7), gcc (>= 2:2.95.4), gettext (>= 0.10.40-5), po-debconf 
    7 Standards-Version: 3.6.2.2 
     6Build-Depends-Indep: debhelper (>= 4.0.2), findutils (>= 4.1.7), gcc (>= 2:2.95.4), gettext (>= 0.10.40-5), po-debconf 
     7Standards-Version: 3.7.2.0 
    88 
    99Package: alternc 
    10 Architecture: any 
    11 Depends: debianutils (>= 1.13.1), debconf (>= 0.5.00) | debconf-2.0, libapache-mod-php4 | libapache-mod-php5, apache, apache-ssl, courier-ssl, courier-imap-ssl, courier-pop-ssl, mysql-server, php5-mysql | php4-mysql, phpmyadmin, proftpd-mysql, squirrelmail, postfix, postfix-tls, bind9, wget, libapache-mod-gzip, rsync, quota, courier-authmysql, ca-certificates, locales, perl-suid, perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php4-cli | php5-cli, php4-mysql | php5-mysql, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), pdksh (>= 5.2.14-6), adduser 
     10Architecture: all 
     11Depends: debianutils (>= 1.13.1), debconf (>= 0.5.00) | debconf-2.0, libapache-mod-php4 | libapache-mod-php5, apache, apache-ssl, courier-ssl, courier-imap-ssl, courier-pop-ssl, mysql-server, php5-mysql | php4-mysql, phpmyadmin, proftpd-mysql, squirrelmail, postfix, postfix-tls, bind9, wget, libapache-mod-gzip, rsync, quota, courier-authmysql, ca-certificates, locales, perl-suid, perl, postfix-mysql, wwwconfig-common, sasl2-bin, libsasl2-modules, php4-cli | php5-cli, php4-mysql | php5-mysql, lockfile-progs (>= 0.1.9), gettext (>= 0.10.40-5), pdksh (>= 5.2.14-6), adduser, perl-suid 
    1212Conflicts: alternc-admintools, alternc-awstats (<= 0.3.2), alternc-webalizer (<= 0.9.4) 
    1313Provides: alternc-admintools 
  • alternc/trunk/debian/rules

    r1608 r1616  
    2323build-stamp: 
    2424        dh_testdir 
    25         (cd src && $(MAKE)) 
    2625        /usr/bin/msgfmt po/fr/LC_MESSAGES/alternc-admintools.po -o po/fr/LC_MESSAGES/alternc-admintools.mo 
    2726        touch build-stamp 
     
    3130        dh_testroot 
    3231        rm -f build-stamp 
    33         (cd src/ && $(MAKE) clean) 
    3432        dh_clean 
    3533 
  • alternc/trunk/src/Makefile

    r1528 r1616  
    2626# ---------------------------------------------------------------------- 
    2727# 
    28 CC?=cc 
    29 CC+=$(CFLAGS) 
    30 PROGS=mail_add mail_del quota_edit quota_get mem_add mem_del db_create  
     28SETUID=mail_add mail_del quota_edit quota_get mem_add mem_del 
    3129SCRIPTS=quota_edit.sh quota_get.sh basedir_prot.sh sqlbackup.sh rawstat.daily quota_init quota_delete update_domains.sh slave_dns sendmail spoolsize.php 
    3230BIN=$(DESTDIR)/usr/lib/alternc/ 
    33  
    34 all: $(PROGS) 
    35  
    3631 
    3732install: all 
    3833        chown root:www-data $(BIN) 
    3934        chmod 755 $(BIN) 
    40         install -o root -g www-data -m4750 $(PROGS) du.pl $(BIN) 
     35        install -o root -g www-data -m4750 $(SETUID) du.pl $(BIN) 
    4136        install -o root -g www-data -m0750 $(SCRIPTS) $(BIN) 
    42  
    43 clean:  
    44         -rm -f *.o *~ 
    45         -rm -f $(PROGS)