diff options
author | wiz <wiz@pkgsrc.org> | 2012-05-06 10:20:38 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2012-05-06 10:20:38 +0000 |
commit | 28bd09ad55350df44540f65b9b5aa1e4e4e1e427 (patch) | |
tree | 2c39a83531b2b0c1228f8f339e881fe4093ded02 /net | |
parent | e67af5865e203f93583db87a4d985ddd1afd5dcd (diff) | |
download | pkgsrc-28bd09ad55350df44540f65b9b5aa1e4e4e1e427.tar.gz |
Remove ispman and p5-ispman.
Very outdated packages (last touched in 2006) that have config file
handling issues; also, ispman is not destdirized.
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 4 | ||||
-rw-r--r-- | net/ispman/DESCR | 19 | ||||
-rw-r--r-- | net/ispman/MESSAGE | 26 | ||||
-rw-r--r-- | net/ispman/Makefile | 51 | ||||
-rw-r--r-- | net/ispman/PLIST | 61 | ||||
-rw-r--r-- | net/ispman/distinfo | 7 | ||||
-rw-r--r-- | net/ispman/patches/patch-aa | 339 | ||||
-rw-r--r-- | net/ispman/patches/patch-ab | 42 | ||||
-rw-r--r-- | net/p5-ispman/DESCR | 3 | ||||
-rw-r--r-- | net/p5-ispman/Makefile | 46 | ||||
-rw-r--r-- | net/p5-ispman/PLIST | 2 | ||||
-rw-r--r-- | net/p5-ispman/distinfo | 8 | ||||
-rw-r--r-- | net/p5-ispman/patches/patch-aa | 19 | ||||
-rw-r--r-- | net/p5-ispman/patches/patch-ab | 13 | ||||
-rw-r--r-- | net/p5-ispman/patches/patch-ac | 13 |
15 files changed, 1 insertions, 652 deletions
diff --git a/net/Makefile b/net/Makefile index a82dbfef3fb..b92e965c782 100644 --- a/net/Makefile +++ b/net/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.918 2012/05/02 04:48:49 agc Exp $ +# $NetBSD: Makefile,v 1.919 2012/05/06 10:20:38 wiz Exp $ # COMMENT= Networking tools @@ -200,7 +200,6 @@ SUBDIR+= isc-dhcpd4 SUBDIR+= isc-dhcrelay4 SUBDIR+= ishell SUBDIR+= isic -SUBDIR+= ispman SUBDIR+= istgt SUBDIR+= jftpgw SUBDIR+= jigdo @@ -441,7 +440,6 @@ SUBDIR+= p5-X500-DN SUBDIR+= p5-eBay-API SUBDIR+= p5-gcap SUBDIR+= p5-grake -SUBDIR+= p5-ispman SUBDIR+= p5-umph SUBDIR+= packit SUBDIR+= parpd diff --git a/net/ispman/DESCR b/net/ispman/DESCR deleted file mode 100644 index fcb59233c4d..00000000000 --- a/net/ispman/DESCR +++ /dev/null @@ -1,19 +0,0 @@ - ISPman is an ISP management software written in perl, using an LDAP backend -to manage virtual hosts for an ISP. It can be used to manage, DNS, virtual -hosts for apache config, postfix configuration, cyrus mail boxes, proftpd etc. - - ISPMan was written as a management tool for the network at 4unet where -between 30 to 50 domains are hosted and the number is crazily growing. -Managing these domains and their users was a little time consuming, and needed -an Administrator who knows linux and these daemons fluently. Now the help-desk -can easily manage the domains and users. - - LDAP data can be easily replicated site wide, and mail box server can be -scaled from 1 to n as required. An LDAP entry called maildrop tells the SMTP -server (postfix) where to deliver the mail. The SMTP servers can be -loadbalanced with one of many load balancing techniques. The program is -written with scalibility and High availibility in mind. - - This may not be the right software for you if you want to run a small ISP on -a single box or if you want to use this software as an LDAP editor or a DNS -management software by itself. diff --git a/net/ispman/MESSAGE b/net/ispman/MESSAGE deleted file mode 100644 index 17b7994705b..00000000000 --- a/net/ispman/MESSAGE +++ /dev/null @@ -1,26 +0,0 @@ -=========================================================================== -$NetBSD: MESSAGE,v 1.4 2005/09/28 14:15:49 rillig Exp $ - - ISPMan has now been installed on your system. - - Before using this package, copy the default configuration from - '${PREFIX}/share/examples/ispman/ispman.conf.default' to - '${PREFIX}/etc/ispman/ispman.conf' (and edit it accordingly). - - You also need to create the appropriate template files in - '${PREFIX}/etc/ispman/templates' (or copy them from the - corresponding .default files that can be found in - '${PREFIX}/share/ispman/templates'). - - Finally, you need a working apache, cyrus-imapd, postfix, openldap, - PAM, and pam-ldap setup. - - ISPMan configuration templates for openldap can be found under - '${PREFIX}/share/examples/ispman/ldap.conf' and - '${PREFIX}/share/examples/ispman/slapd.conf'. - - On the machine(s) you are running cyrus on, you need to have pam-ldap - and an PAM-enabled cyrus-sasl installed and configured (see the - corresponding packages for more information). - -=========================================================================== diff --git a/net/ispman/Makefile b/net/ispman/Makefile deleted file mode 100644 index 2c33cb7d3a5..00000000000 --- a/net/ispman/Makefile +++ /dev/null @@ -1,51 +0,0 @@ -# $NetBSD: Makefile,v 1.20 2006/03/04 21:30:19 jlam Exp $ -# - -DISTNAME= ispman-0.5 -PKGREVISION= 5 -CATEGORIES= net -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ispman/} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.ispman.org/ -COMMENT= ISP management software written in perl - -DEPENDS+= pam-ldap>=77:../../security/pam-ldap -DEPENDS+= apache>=1.3.14nb1:../../www/apache -DEPENDS+= p5-ispman>=0.5:../../net/p5-ispman - -.if !exists(/usr/sbin/postfix) -DEPENDS+= {postfix>=20010228,postfix-1.*,postfix-2.*}:../../mail/postfix -.endif - -USE_TOOLS+= perl:run - -WRKSRC= ${WRKDIR}/ispman -ISPMAN_HTDOCS?= ${PREFIX}/share/ispman/virtual -ISPMAN_IP?= 127.0.0.1 - -do-configure: - cd ${WRKSRC} && ${SED} < install.pl > pkginstall.pl \ - -e 's:@@PREFIX@@:${PREFIX}:g' \ - -e 's:@@HTDOCS@@:${ISPMAN_HTDOCS}:g' \ - -e 's:@@IP@@:${ISPMAN_IP}:g' - -do-build: -.for dir in ispman-utils ispman-web - cd ${WRKSRC}/${dir} && \ - ${RM} -rf `${FIND} . -name CVS -type d -print` && \ - for i in `${FIND} . -name '*.orig' -type f -print` ; do \ - ${RM} -f $$i ; \ - done ; \ - for i in `${FIND} . -type f -print` ; do \ - ${CP} $$i $$i.old && \ - ${SED} <$$i.old >$$i -e 's:/usr/bin/perl:${PERL5}:g' && \ - ${RM} $$i.old ; \ - done -.endfor - -do-install: - cd ${WRKSRC} && ${PERL5} ./pkginstall.pl && \ - ${INSTALL_DATA} ispman.ldif ${PREFIX}/etc/ispman - -.include "../../mk/bsd.pkg.mk" diff --git a/net/ispman/PLIST b/net/ispman/PLIST deleted file mode 100644 index 08c07144248..00000000000 --- a/net/ispman/PLIST +++ /dev/null @@ -1,61 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:09:31 joerg Exp $ -etc/ispman/ispman.ldif -etc/ispman/ispman.conf.default -etc/ispman/templates/domain.ldif.template.default -etc/ispman/templates/named.conf.footer.default -etc/ispman/templates/named.conf.header.default -etc/ispman/templates/vhosts.conf.footer.default -etc/ispman/templates/vhosts.conf.header.default -etc/ispman/templates/vhosts.conf.template.default -etc/openldap/ldap.conf.ispman -etc/openldap/slapd.conf.ispman -share/ispman/bin/adddomain -share/ispman/bin/adduser -share/ispman/bin/addvhost -share/ispman/bin/deletedomain -share/ispman/bin/deletevhost -share/ispman/bin/dnsshow -share/ispman/bin/ldap2named -share/ispman/bin/ldap2vhosts -share/ispman/bin/mailproxy -share/ispman/bin/senduseraliases -share/ispman/bin/showdomains -share/ispman/bin/showusers -share/ispman/cgi-bin/ispdump.cgi -share/ispman/cgi-bin/ispman.cgi -share/ispman/cgi-bin/tmpl/addVhost.tmpl -share/ispman/cgi-bin/tmpl/adduser.tmpl -share/ispman/cgi-bin/tmpl/editVhost.tmpl -share/ispman/cgi-bin/tmpl/edituser.tmpl -share/ispman/cgi-bin/tmpl/headers.tmpl -share/ispman/cgi-bin/tmpl/index.tmpl -share/ispman/cgi-bin/tmpl/ispman.tmpl -share/ispman/cgi-bin/tmpl/menu.tmpl -share/ispman/htdocs/about.html -share/ispman/htdocs/gfx/bg_blue.gif -share/ispman/htdocs/gfx/bg_grey.gif -share/ispman/htdocs/gfx/bg_lila.gif -share/ispman/htdocs/gfx/bg_menu.gif -share/ispman/htdocs/gfx/but/but_apply_chg_0.gif -share/ispman/htdocs/gfx/but/but_apply_chg_1.gif -share/ispman/htdocs/gfx/but/but_create_entry_0.gif -share/ispman/htdocs/gfx/but/but_create_entry_1.gif -share/ispman/htdocs/gfx/but/but_del_entry_0.gif -share/ispman/htdocs/gfx/but/but_del_entry_1.gif -share/ispman/htdocs/gfx/but/but_discard_chg_0.gif -share/ispman/htdocs/gfx/but/but_discard_chg_1.gif -share/ispman/htdocs/gfx/but/but_new_entry_0.gif -share/ispman/htdocs/gfx/but/but_new_entry_1.gif -share/ispman/htdocs/gfx/but/but_search_0.gif -share/ispman/htdocs/gfx/but/but_search_1.gif -share/ispman/htdocs/gfx/false.gif -share/ispman/htdocs/gfx/ispmgr.gif -share/ispman/htdocs/gfx/ispmgr_logo.gif -share/ispman/htdocs/gfx/minus.gif -share/ispman/htdocs/gfx/pixeltrans.gif -share/ispman/htdocs/gfx/plus.gif -share/ispman/htdocs/gfx/true.gif -share/ispman/htdocs/index.html -share/ispman/htdocs/ispman_menu.html -share/ispman/htdocs/js/list.js -share/ispman/htdocs/title.html diff --git a/net/ispman/distinfo b/net/ispman/distinfo deleted file mode 100644 index 4c906c7776d..00000000000 --- a/net/ispman/distinfo +++ /dev/null @@ -1,7 +0,0 @@ -$NetBSD: distinfo,v 1.3 2005/02/24 12:13:50 agc Exp $ - -SHA1 (ispman-0.5.tar.gz) = e42c9fd4bd5fb2f7ac97140dfafe708fceaaccf8 -RMD160 (ispman-0.5.tar.gz) = 45f8442954ab7080732332a26aa1ae5893d1132e -Size (ispman-0.5.tar.gz) = 942170 bytes -SHA1 (patch-aa) = 042df3691547ff22c94f70569b8b1dad87a0ee44 -SHA1 (patch-ab) = a2e4008751307bcfd893854d8a3800054b53d00d diff --git a/net/ispman/patches/patch-aa b/net/ispman/patches/patch-aa deleted file mode 100644 index 8056555aa9e..00000000000 --- a/net/ispman/patches/patch-aa +++ /dev/null @@ -1,339 +0,0 @@ -$NetBSD: patch-aa,v 1.1.1.1 2000/10/21 19:02:32 rh Exp $ - ---- install.pl.orig Sat Sep 23 20:15:46 2000 -+++ install.pl -@@ -1,4 +1,4 @@ --#!/usr/bin/perl -+#!@@PREFIX@@/bin/perl - #This is the install utility for ISPMan - #I wrote it origionally for Slashcode some time back, but have modified it to be used with ISPMan. - -@@ -14,7 +14,6 @@ - $HOSTNAME=$ENV{'HOSTNAME'}||`hostname`; - chomp $HOSTNAME; - $PWD=$ENV{'PWD'}; --system("clear"); - - #this hashref defines sections that we need to configure and their descriptions. - #each key is a section eg ldap, mail, dns etc -@@ -57,7 +56,7 @@ - dns_vars => { - 'description' => qq| - These are DNS (named) specific variables -- will put an empty named.conf.header and named.conf.footer in /etc/ispman/templates -+ will put an empty named.conf.header and named.conf.footer in @@PREFIX@@/etc/ispman/templates - directory for you which you can later change according to your network. - If you already have these files in place then they will be left untouched. - |, -@@ -122,55 +121,55 @@ - }, - - apacheVhostsDir => { -- default => '/home/httpd/virtual', -+ default => '@@HTDOCS@@', - question => "Directory where the VirtualHosts will be kept\nEach domain will have its entry within this directory \nand each subhost will be created underneath that directory", - - }, - - apacheVhostsFile => { -- default => '/etc/httpd/conf/vhosts.conf', -+ default => '@@PREFIX@@/etc/httpd/vhosts.conf', - question => "The file where I should create VirtualHost Entries", - - }, - - apacheVhostsHeader => { -- default => '/etc/ispman/templates/vhosts.conf.header', -+ default => '@@PREFIX@@/etc/ispman/templates/vhosts.conf.header', - question => "I will prepend this file to the VirtualHosts file", - - }, - - apacheVhostsTemplate => { -- default => '/etc/ispman/templates/vhosts.template', -+ default => '@@PREFIX@@/etc/ispman/templates/vhosts.template', - question => "This is the template that will be used when creating config for Virtualhosts\nIf it does not exists then it will be created for you", - - }, - - apacheVhostsIP=> { -- default => '192.168.1.1', -+ default => '@@IP@@', - question => "This is the ip address that all virtual hosts will share", - - }, - - apacheVhostsFooter => { -- default => '/etc/ispman/templates/vhosts.conf.footer', -+ default => '@@PREFIX@@/etc/ispman/templates/vhosts.conf.footer', - question => "I will append this file to the VirtualHosts file", - - }, - - apacheReloadCommand => { -- default => '/etc/rc.d/init.d/httpd reload', -+ default => '@@PREFIX@@/etc/rc.d/apache restart', - question => "Command to reload apache.\nIf this command is present then it will be used instead \nof stoping and starting the daemon", - - }, - - apacheStopCommand => { -- default => '/etc/rc.d/init.d/httpd stop', -+ default => '@@PREFIX@@/etc/rc.d/apache stop', - question => "Command to stop apache", - - }, - - apacheStartCommand => { -- default => '/etc/rc.d/init.d/httpd start', -+ default => '@@PREFIX@@/etc/rc.d/apache start', - question => "Command to start apache", - - }, -@@ -179,7 +178,7 @@ - - - ldapInstallPath => { -- default => '/etc/openldap', -+ default => '@@PREFIX@@/etc/openldap', - question => "path to ldap conf directory.", - }, - -@@ -205,7 +204,7 @@ - }, - - imapHosts => { -- default => 'mail', -+ default => 'localhost', - question => "List all Cyrus mail servers that you have separated by space", - - }, -@@ -261,49 +260,49 @@ - - }, - namedStopCommand => { -- default => '/etc/rc.d/init.d/named stop', -+ default => '/etc/rc.d/named stop', - question => "Command to stop named", - - }, - namedConfFile => { -- default => '/etc/named.conf', -+ default => '/etc/namedb/named.conf', - question => "Configuration file for named", - - }, - - namedStartCommand => { -- default => '/etc/rc.d/init.d/named start', -+ default => '/etc/rc.d/named start', - question => "Command to start named", - - }, - namedConfHeaderFile => { -- default => '/etc/ispman/templates/named.conf.header', -+ default => '@@PREFIX@@/etc/ispman/templates/named.conf.header', - question => "Header file that I should prepend to the generated named.conf", - - }, - - namedConfFooterFile => { -- default => '/etc/ispman/templates/named.conf.footer', -+ default => '@@PREFIX@@/etc/ispman/templates/named.conf.footer', - question => "Header file that I should append to the generated named.conf", - - }, - - dnsMasterEmail => { -- default => 'hostsmaster.yourdomain', -+ default => 'hostmaster.yourdomain', - question => "Emailaddress of the dns master.\nThis is for SOA record", - - }, - - - rootEmail => { -- default => 'root@%%hostname%%', -+ default => 'root@localhost', - question => "Email of the administrator.\nThis email adress is used to send emails if something fails", - - }, - - installDir => { -- default => '/opt/ispman', -- question => "Directory where you want to install ispman components.\nYou may choose to install in on an NFS partition so that you can share the same files with multiple machines.\nIt is recommended to install at /opt/ispman", -+ default => '@@PREFIX@@/share/ispman', -+ question => "Directory where you want to install ispman components.\nYou may choose to install in on an NFS partition so that you can share the same files with multiple machines.\nIt is recommended to install at @@PREFIX@@/share/ispman", - - }, - sleepSecondsBetweenRestart => { -@@ -315,10 +314,10 @@ - }; - - --if (-e "/etc/ispman/conf/ispman.conf"){ -+if (-e "@@PREFIX@@/etc/ispman/ispman.conf"){ - $ISUPDATE=1; - print "Existing ISPMan installation Exists\nReading defaults from config file\n"; -- do "/etc/ispman/conf/ispman.conf"; -+ do "@@PREFIX@@/etc/ispman/ispman.conf"; - *Config=*ISPMan::Config; - $Config->{'imapHosts'}=join " ", @{$Config->{'imapHosts'}}; - for (keys %$Config){ -@@ -362,12 +361,7 @@ - print getVar($_, 'default'); - print "]: "; - } -- chomp(my $answer=<>); -- if ($answer) { -- $vars->{$_}{'default'}=$answer; -- } else { -- $vars->{$_}{'default'}=getVar($_, 'default'); -- } -+ $vars->{$_}{'default'}=getVar($_, 'default'); - } - - } -@@ -376,10 +370,8 @@ - - - sub write_config { -- system("clear"); -- print "Writting ispman.conf"; -- backup("/etc/ispman/conf/ispman.conf"); -- open ("F", ">/etc/ispman/conf/ispman.conf") or die "Cant open x"; -+ print "Writting ispman.conf.default"; -+ open ("F", ">@@PREFIX@@/etc/ispman/ispman.conf.default") or die "Cant open x"; - print F "package ISPMan;\n"; - - my $key; -@@ -411,16 +403,14 @@ - - - -- print "\nWritting /etc/ispman/templates/domain.ldif.template\n"; -+ print "\nWritting @@PREFIX@@/etc/ispman/templates/domain.ldif.template.default\n"; - print "This template is an ldif template that is used when creating a new domain\n"; - print "This template has probably my site defaults. You may want to change it a bit\n"; - -- backup("/etc/ispman/templates/domain.ldif.template"); -- system("cp install-data/domain.ldif.template.dist /etc/ispman/templates/domain.ldif.template"); -+ system("cp install-data/domain.ldif.template.dist @@PREFIX@@/etc/ispman/templates/domain.ldif.template.default"); - -- print "\nWritting /etc/ispman/templates/vhosts.conf.template\n"; -- backup("/etc/ispman/templates/vhosts.conf.template"); -- system("cp install-data/vhosts.conf.template.dist /etc/ispman/templates/vhosts.conf.template"); -+ print "\nWritting @@PREFIX@@/etc/ispman/templates/vhosts.conf.template.default\n"; -+ system("cp install-data/vhosts.conf.template.dist @@PREFIX@@/etc/ispman/templates/vhosts.conf.template.default"); - } - - -@@ -442,7 +432,7 @@ - print "*"x72, "\n"; - if ($vars_info->{$_}{'optional'}) { - print "You may skip this section to get the default values\nDo you want to set them up? y/n [y] "; -- chomp(my $ans=<>); -+ my $ans="n"; - if ($ans=~/^\s*n/i){ - setDefaults(@{$vars_info->{$_}{'vars'}}); - next; -@@ -450,19 +440,16 @@ - $vars_info->{$_}{'set'}=1; - } - configure(@{$vars_info->{$_}{'vars'}}); -- system("clear"); - } - make_directories(); - write_config(); - } - - sub make_directories{ -- system("clear"); - print "\n\nMaking required directories\n"; - - system(qq| -- mkdir -p /etc/ispman/templates -- mkdir -p /etc/ispman/conf -+ mkdir -p @@PREFIX@@/etc/ispman/templates - mkdir -p $vars->{'installDir'}{'default'} - |); - -@@ -475,22 +462,22 @@ - - - print "Copying cgi-bin to $vars->{'installDir'}{'default'}/ \n"; -- system("cp -a ispman-web/cgi-bin $vars->{'installDir'}{'default'}/"); -+ system("cp -R ispman-web/cgi-bin $vars->{'installDir'}{'default'}/"); - - - print "Copying htdocs to $vars->{'installDir'}{'default'}/ \n"; -- system("cp -a ispman-web/htdocs $vars->{'installDir'}{'default'}/"); -+ system("cp -R ispman-web/htdocs $vars->{'installDir'}{'default'}/"); - - print "Copying bin to $vars->{'installDir'}{'default'}/ \n"; -- system("cp -a ispman-utils/bin $vars->{'installDir'}{'default'}/"); -+ system("cp -R ispman-utils/bin $vars->{'installDir'}{'default'}/"); - - - print "\nMaking dummy named.conf and vhosts.conf header and footer files\n"; - system (qq| -- echo '#this is a named.conf.header file' > $vars->{'namedConfHeaderFile'}{'default'} -- echo '#this is a named.conf.footer file' > $vars->{'namedConfFooterFile'}{'default'} -- echo '#this is a vhosts.conf.header file' > $vars->{'apacheVhostsHeader'}{'default'} -- echo '#this is a vhosts.conf.footer file' > $vars->{'apacheVhostsFooter'}{'default'} -+ echo '#this is a named.conf.header file' > "$vars->{'namedConfHeaderFile'}{'default'}.default" -+ echo '#this is a named.conf.footer file' > "$vars->{'namedConfFooterFile'}{'default'}.default" -+ echo '#this is a vhosts.conf.header file' > "$vars->{'apacheVhostsHeader'}{'default'}.default" -+ echo '#this is a vhosts.conf.footer file' > "$vars->{'apacheVhostsFooter'}{'default'}.default" - |); - - } -@@ -501,7 +488,7 @@ - sub makeldif{ - print "\n\nMaking default ldif file. ispman.ldif\n\n"; - --open "F", ">ispman.ldif"; -+open "F", ">ispman.ldif.default"; - print F qq|dn: $vars->{'ldapBaseDN'}{'default'} - objectclass: top - objectclass: organisation -@@ -570,13 +557,12 @@ - - sub make_ldap_conf { - print "\n\nShall I make ldap.conf for you? [Y/n]"; -- my $install=<>; chomp $install; -+ my $install="y"; - if ($install =~/^n$/i){ - print "OK\n"; - } else { - print "Installing ldap.conf\n"; -- backup("$vars->{'ldapInstallPath'}{'default'}/ldap.conf"); -- open "F", ">$vars->{'ldapInstallPath'}{'default'}/ldap.conf"; -+ open "F", ">$vars->{'ldapInstallPath'}{'default'}/ldap.conf.ispman"; - print F "host $vars->{'ldapHost'}{'default'}\n"; - print F "base $vars->{'ldapBaseDN'}{'default'}\n"; - print F "pam_login_attribute uid\n"; -@@ -589,13 +575,12 @@ - sub make_slapd_conf { - print "Shall I make slapd.conf for you? [Y/n]"; - -- my $install=<>; chomp $install; -+ my $install="y"; - if ($install =~/^n$/i){ - print "OK\n"; - } else { - -- backup("$vars->{'ldapInstallPath'}{'default'}/slapd.conf"); -- open "F", ">$vars->{'ldapInstallPath'}{'default'}/slapd.conf"; -+ open "F", ">$vars->{'ldapInstallPath'}{'default'}/slapd.conf.ispman"; - print F qq| - include $vars->{'ldapInstallPath'}{'default'}/slapd.at.conf - include $vars->{'ldapInstallPath'}{'default'}/slapd.oc.conf -@@ -625,7 +610,6 @@ - make_slapd_conf(); - install(); - --system("clear"); - print "Enjoy!\n"; - print qq| - I have created an ldif file ispman.ldif diff --git a/net/ispman/patches/patch-ab b/net/ispman/patches/patch-ab deleted file mode 100644 index 52df654bc3c..00000000000 --- a/net/ispman/patches/patch-ab +++ /dev/null @@ -1,42 +0,0 @@ -$NetBSD: patch-ab,v 1.1 2000/11/22 10:44:52 rh Exp $ - ---- ispman-utils/bin/ldap2named.orig Sat Sep 23 01:24:28 2000 -+++ ispman-utils/bin/ldap2named -@@ -31,7 +31,10 @@ - - - if ($soa) { -- print ZONE "@ IN SOA $soa->{'primary'}. $soa->{'rootmail'}. (\n"; -+ my $primary = $soa->{'primary'}; -+ $primary="$primary\." if (($primary =~ /\./) && ($primary !~ /\.$/)); -+ print ZONE "\$TTL $soa->{'minimum'}\n"; -+ print ZONE "@ IN SOA $primary $soa->{'rootmail'}. (\n"; - for (qw(serial refresh retry expire minimum)) { - print ZONE "\t $soa->{$_} ; $_\n"; - } -@@ -45,7 +48,7 @@ - print ZONE "\n; NS RECORDS\n"; - for (@$nsrecords) { - my ($origion, $host)=split(/\s*,\s*/, $_); -- $host=($host=~/\.$/)?$host: "$host\."; -+ $host="$host\." if (($host =~ /\./) && ($host !~ /\.$/)); - print ZONE "$origion IN NS $host\n"; - } - -@@ -55,7 +58,7 @@ - for (@$mxrecords) { - - my ($origion, ,$pref, $host)=split(/\s*,\s*/, $_); -- $host=($host=~/\.$/)?$host: "$host\."; -+ $host="$host\." if (($host =~ /\./) && ($host !~ /\.$/)); - print ZONE "$origion IN MX $pref $host\n"; - } - -@@ -72,6 +75,7 @@ - my $cnames=$ispman->getRecords($domains->{$domain}, "cnames"); - for (@$cnames) { - my ($alias, $host)=split(/\s*,\s*/, $_); -+ $host="$host\." if (($host =~ /\./) && ($host !~ /\.$/)); - print ZONE "$alias IN CNAME $host\n"; - } - diff --git a/net/p5-ispman/DESCR b/net/p5-ispman/DESCR deleted file mode 100644 index 504609ac615..00000000000 --- a/net/p5-ispman/DESCR +++ /dev/null @@ -1,3 +0,0 @@ - This is the Perl5 module for ispman. It contains a library of raw LDAP, -IMAP, and Apache configuration routines that can be used by web front-ends -and configuration scripts. diff --git a/net/p5-ispman/Makefile b/net/p5-ispman/Makefile deleted file mode 100644 index faa2c9c388d..00000000000 --- a/net/p5-ispman/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# $NetBSD: Makefile,v 1.25 2012/02/02 09:40:04 hans Exp $ -# - -DISTNAME= ispman-0.5 -PKGNAME= p5-${DISTNAME} -PKGREVISION= 7 -SVR4_PKGNAME= p5isp -CATEGORIES= net perl5 -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ispman/} - -MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://www.ispman.org/ -COMMENT= Perl module for ISPMan webAdministrator and command line utils - -PKG_DESTDIR_SUPPORT= user-destdir - -DEPENDS+= {p5-CGI>=2.72,perl>=5.6.1nb2}:../../www/p5-CGI -DEPENDS+= p5-Text-Template>=1.23:../../textproc/p5-Text-Template -DEPENDS+= p5-perl-ldap>=0.22:../../databases/p5-perl-ldap -DEPENDS+= p5-IMAP-Admin>=1.2.5:../../mail/p5-IMAP-Admin -DEPENDS+= p5-Convert-ASN1>=0.07:../../textproc/p5-Convert-ASN1 -DEPENDS+= p5-IO-stringy>=1.213:../../devel/p5-IO-stringy - -WRKSRC= ${WRKDIR}/ispman/Modules -PERL5_PACKLIST= auto/ISPMan/.packlist -PERL5_CONFIGURE_DIRS= ${WRKSRC}/ISPMan ${WRKSRC}/IO-stringy-1.212_patched -BUILD_DIRS= ${PERL5_CONFIGURE_DIRS} -INSTALL_DIRS= ${WRKSRC}/ISPMan -INSTALLATION_DIRS= ${PERL5_INSTALLVENDORLIB}/IO - -MAKE_PARAMS+= --noprompt - -SUBST_CLASSES+= etc-fix -SUBST_STAGE.etc-fix= pre-configure -SUBST_FILES.etc-fix= ISPMan/* -SUBST_SED.etc-fix= -e 's:/etc:${PREFIX}/etc:g' - -pre-configure: - ${FIND} ${WRKSRC} -name "*.orig" -type f | ${XARGS} ${RM} -f - -post-install: - ${INSTALL_DATA} ${WRKSRC}/IO-stringy-1.212_patched/lib/IO/Scalar.pm \ - ${DESTDIR}${PERL5_INSTALLVENDORLIB}/IO/ScalarPatched.pm - -.include "../../lang/perl5/module.mk" -.include "../../mk/bsd.pkg.mk" diff --git a/net/p5-ispman/PLIST b/net/p5-ispman/PLIST deleted file mode 100644 index fddd629fb4f..00000000000 --- a/net/p5-ispman/PLIST +++ /dev/null @@ -1,2 +0,0 @@ -@comment $NetBSD: PLIST,v 1.2 2005/08/06 06:19:28 jlam Exp $ -${PERL5_SUB_INSTALLVENDORLIB}/IO/ScalarPatched.pm diff --git a/net/p5-ispman/distinfo b/net/p5-ispman/distinfo deleted file mode 100644 index 182f255cd04..00000000000 --- a/net/p5-ispman/distinfo +++ /dev/null @@ -1,8 +0,0 @@ -$NetBSD: distinfo,v 1.4 2005/11/03 23:12:43 rillig Exp $ - -SHA1 (ispman-0.5.tar.gz) = e42c9fd4bd5fb2f7ac97140dfafe708fceaaccf8 -RMD160 (ispman-0.5.tar.gz) = 45f8442954ab7080732332a26aa1ae5893d1132e -Size (ispman-0.5.tar.gz) = 942170 bytes -SHA1 (patch-aa) = 3aac30a7f0cbd351fa385386519f42cbd48c08b6 -SHA1 (patch-ab) = b37a6558ba7f3b3f8a7e5e98943360c18113a569 -SHA1 (patch-ac) = d43feab466ce95a0da951eddc418d4b4e2f54fc2 diff --git a/net/p5-ispman/patches/patch-aa b/net/p5-ispman/patches/patch-aa deleted file mode 100644 index e88ca8a31fe..00000000000 --- a/net/p5-ispman/patches/patch-aa +++ /dev/null @@ -1,19 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2005/11/03 23:12:43 rillig Exp $ - ---- ISPMan/ISPMan.pm.orig Sat Sep 23 15:48:00 2000 -+++ ISPMan/ISPMan.pm -@@ -1,4 +1,5 @@ - package ISPMan; -+use AutoLoader 'AUTOLOAD'; - use strict; - use Text::Template; - use ISPMan::IMAP; -@@ -30,7 +31,7 @@ - my $self; - - -- my $confDir=shift || "/etc/ispman/conf"; -+ my $confDir=shift || "/etc/ispman"; - $Config=ISPMan::Config->new($confDir); - $self->{'Config'}=$Config; - diff --git a/net/p5-ispman/patches/patch-ab b/net/p5-ispman/patches/patch-ab deleted file mode 100644 index 5f9571b78a6..00000000000 --- a/net/p5-ispman/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.2 2005/11/03 23:12:43 rillig Exp $ - ---- ISPMan/ISPMan/Config.pm.orig Tue Aug 1 16:18:21 2000 -+++ ISPMan/ISPMan/Config.pm -@@ -16,7 +16,7 @@ - my $class = ref($proto) || $proto; - - -- my $confDir=shift || "/etc/ispman/conf"; -+ my $confDir=shift || "/etc/ispman"; - unless ($Config){ - - die "\n\nERROR: $confDir does not exists. \nDid you create the configuration directory?\n\n" unless (-e $confDir); diff --git a/net/p5-ispman/patches/patch-ac b/net/p5-ispman/patches/patch-ac deleted file mode 100644 index 913224268fc..00000000000 --- a/net/p5-ispman/patches/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ac,v 1.2 2005/11/03 23:12:43 rillig Exp $ - ---- ISPMan/ISPMan/LDAP.pm.orig Thu Oct 19 16:39:09 2000 -+++ ISPMan/ISPMan/LDAP.pm -@@ -4,7 +4,7 @@ - use Net::LDAP; - use Net::LDAP::Entry; - use Net::LDAP::LDIF; --use IO::Scalar; -+use IO::ScalarPatched; - - use Net::LDAP::Util qw(ldap_error_name ldap_error_text) ; - use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $LDAP $Config); |