From 04225a3c45acffcf91abc86aa6653fe5e3a2067f Mon Sep 17 00:00:00 2001 From: Thomas Penteker Date: Sun, 20 Aug 2017 21:42:17 +0200 Subject: [PATCH] postfix: fix mandir --- postfix/.footprint | 146 ++++++++++++++++++++++----------------------- postfix/.signature | 6 +- postfix/Pkgfile | 11 +--- 3 files changed, 78 insertions(+), 85 deletions(-) diff --git a/postfix/.footprint b/postfix/.footprint index 38a716200..b97773346 100644 --- a/postfix/.footprint +++ b/postfix/.footprint @@ -65,79 +65,6 @@ drwxr-xr-x root/root usr/lib/postfix/ -rwxr-xr-x root/root usr/lib/postfix/trivial-rewrite -rwxr-xr-x root/root usr/lib/postfix/verify -rwxr-xr-x root/root usr/lib/postfix/virtual -drwxr-xr-x root/root usr/man/ -drwxr-xr-x root/root usr/man/man1/ --rw-r--r-- root/root usr/man/man1/mailq.1.gz --rw-r--r-- root/root usr/man/man1/newaliases.1.gz --rw-r--r-- root/root usr/man/man1/postalias.1.gz --rw-r--r-- root/root usr/man/man1/postcat.1.gz --rw-r--r-- root/root usr/man/man1/postconf.1.gz --rw-r--r-- root/root usr/man/man1/postdrop.1.gz --rw-r--r-- root/root usr/man/man1/postfix.1.gz --rw-r--r-- root/root usr/man/man1/postkick.1.gz --rw-r--r-- root/root usr/man/man1/postlock.1.gz --rw-r--r-- root/root usr/man/man1/postlog.1.gz --rw-r--r-- root/root usr/man/man1/postmap.1.gz --rw-r--r-- root/root usr/man/man1/postmulti.1.gz --rw-r--r-- root/root usr/man/man1/postqueue.1.gz --rw-r--r-- root/root usr/man/man1/postsuper.1.gz --rw-r--r-- root/root usr/man/man1/sendmail.1.gz -drwxr-xr-x root/root usr/man/man5/ --rw-r--r-- root/root usr/man/man5/access.5.gz --rw-r--r-- root/root usr/man/man5/aliases.5.gz --rw-r--r-- root/root usr/man/man5/body_checks.5.gz --rw-r--r-- root/root usr/man/man5/bounce.5.gz --rw-r--r-- root/root usr/man/man5/canonical.5.gz --rw-r--r-- root/root usr/man/man5/cidr_table.5.gz --rw-r--r-- root/root usr/man/man5/generic.5.gz --rw-r--r-- root/root usr/man/man5/header_checks.5.gz --rw-r--r-- root/root usr/man/man5/ldap_table.5.gz --rw-r--r-- root/root usr/man/man5/lmdb_table.5.gz --rw-r--r-- root/root usr/man/man5/master.5.gz --rw-r--r-- root/root usr/man/man5/memcache_table.5.gz --rw-r--r-- root/root usr/man/man5/mysql_table.5.gz --rw-r--r-- root/root usr/man/man5/nisplus_table.5.gz --rw-r--r-- root/root usr/man/man5/pcre_table.5.gz --rw-r--r-- root/root usr/man/man5/pgsql_table.5.gz --rw-r--r-- root/root usr/man/man5/postconf.5.gz --rw-r--r-- root/root usr/man/man5/postfix-wrapper.5.gz --rw-r--r-- root/root usr/man/man5/regexp_table.5.gz --rw-r--r-- root/root usr/man/man5/relocated.5.gz --rw-r--r-- root/root usr/man/man5/socketmap_table.5.gz --rw-r--r-- root/root usr/man/man5/sqlite_table.5.gz --rw-r--r-- root/root usr/man/man5/tcp_table.5.gz --rw-r--r-- root/root usr/man/man5/transport.5.gz --rw-r--r-- root/root usr/man/man5/virtual.5.gz -drwxr-xr-x root/root usr/man/man8/ --rw-r--r-- root/root usr/man/man8/anvil.8.gz --rw-r--r-- root/root usr/man/man8/bounce.8.gz --rw-r--r-- root/root usr/man/man8/cleanup.8.gz --rw-r--r-- root/root usr/man/man8/defer.8.gz --rw-r--r-- root/root usr/man/man8/discard.8.gz --rw-r--r-- root/root usr/man/man8/dnsblog.8.gz --rw-r--r-- root/root usr/man/man8/error.8.gz --rw-r--r-- root/root usr/man/man8/flush.8.gz --rw-r--r-- root/root usr/man/man8/lmtp.8.gz --rw-r--r-- root/root usr/man/man8/local.8.gz --rw-r--r-- root/root usr/man/man8/master.8.gz --rw-r--r-- root/root usr/man/man8/oqmgr.8.gz --rw-r--r-- root/root usr/man/man8/pickup.8.gz --rw-r--r-- root/root usr/man/man8/pipe.8.gz --rw-r--r-- root/root usr/man/man8/postscreen.8.gz --rw-r--r-- root/root usr/man/man8/proxymap.8.gz --rw-r--r-- root/root usr/man/man8/qmgr.8.gz --rw-r--r-- root/root usr/man/man8/qmqpd.8.gz --rw-r--r-- root/root usr/man/man8/scache.8.gz --rw-r--r-- root/root usr/man/man8/showq.8.gz --rw-r--r-- root/root usr/man/man8/smtp.8.gz --rw-r--r-- root/root usr/man/man8/smtpd.8.gz --rw-r--r-- root/root usr/man/man8/spawn.8.gz --rw-r--r-- root/root usr/man/man8/tlsmgr.8.gz --rw-r--r-- root/root usr/man/man8/tlsproxy.8.gz --rw-r--r-- root/root usr/man/man8/trace.8.gz --rw-r--r-- root/root usr/man/man8/trivial-rewrite.8.gz --rw-r--r-- root/root usr/man/man8/verify.8.gz --rw-r--r-- root/root usr/man/man8/virtual.8.gz drwxr-xr-x root/root usr/sbin/ -rwxr-xr-x root/root usr/sbin/postalias -rwxr-xr-x root/root usr/sbin/postcat @@ -152,6 +79,79 @@ drwxr-xr-x root/root usr/sbin/ -rwxr-sr-x root/postdrop usr/sbin/postqueue -rwxr-xr-x root/root usr/sbin/postsuper -rwxr-xr-x root/root usr/sbin/sendmail +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man1/ +-rw-r--r-- root/root usr/share/man1/mailq.1 +-rw-r--r-- root/root usr/share/man1/newaliases.1 +-rw-r--r-- root/root usr/share/man1/postalias.1 +-rw-r--r-- root/root usr/share/man1/postcat.1 +-rw-r--r-- root/root usr/share/man1/postconf.1 +-rw-r--r-- root/root usr/share/man1/postdrop.1 +-rw-r--r-- root/root usr/share/man1/postfix.1 +-rw-r--r-- root/root usr/share/man1/postkick.1 +-rw-r--r-- root/root usr/share/man1/postlock.1 +-rw-r--r-- root/root usr/share/man1/postlog.1 +-rw-r--r-- root/root usr/share/man1/postmap.1 +-rw-r--r-- root/root usr/share/man1/postmulti.1 +-rw-r--r-- root/root usr/share/man1/postqueue.1 +-rw-r--r-- root/root usr/share/man1/postsuper.1 +-rw-r--r-- root/root usr/share/man1/sendmail.1 +drwxr-xr-x root/root usr/share/man5/ +-rw-r--r-- root/root usr/share/man5/access.5 +-rw-r--r-- root/root usr/share/man5/aliases.5 +-rw-r--r-- root/root usr/share/man5/body_checks.5 +-rw-r--r-- root/root usr/share/man5/bounce.5 +-rw-r--r-- root/root usr/share/man5/canonical.5 +-rw-r--r-- root/root usr/share/man5/cidr_table.5 +-rw-r--r-- root/root usr/share/man5/generic.5 +-rw-r--r-- root/root usr/share/man5/header_checks.5 +-rw-r--r-- root/root usr/share/man5/ldap_table.5 +-rw-r--r-- root/root usr/share/man5/lmdb_table.5 +-rw-r--r-- root/root usr/share/man5/master.5 +-rw-r--r-- root/root usr/share/man5/memcache_table.5 +-rw-r--r-- root/root usr/share/man5/mysql_table.5 +-rw-r--r-- root/root usr/share/man5/nisplus_table.5 +-rw-r--r-- root/root usr/share/man5/pcre_table.5 +-rw-r--r-- root/root usr/share/man5/pgsql_table.5 +-rw-r--r-- root/root usr/share/man5/postconf.5 +-rw-r--r-- root/root usr/share/man5/postfix-wrapper.5 +-rw-r--r-- root/root usr/share/man5/regexp_table.5 +-rw-r--r-- root/root usr/share/man5/relocated.5 +-rw-r--r-- root/root usr/share/man5/socketmap_table.5 +-rw-r--r-- root/root usr/share/man5/sqlite_table.5 +-rw-r--r-- root/root usr/share/man5/tcp_table.5 +-rw-r--r-- root/root usr/share/man5/transport.5 +-rw-r--r-- root/root usr/share/man5/virtual.5 +drwxr-xr-x root/root usr/share/man8/ +-rw-r--r-- root/root usr/share/man8/anvil.8 +-rw-r--r-- root/root usr/share/man8/bounce.8 +-rw-r--r-- root/root usr/share/man8/cleanup.8 +-rw-r--r-- root/root usr/share/man8/defer.8 +-rw-r--r-- root/root usr/share/man8/discard.8 +-rw-r--r-- root/root usr/share/man8/dnsblog.8 +-rw-r--r-- root/root usr/share/man8/error.8 +-rw-r--r-- root/root usr/share/man8/flush.8 +-rw-r--r-- root/root usr/share/man8/lmtp.8 +-rw-r--r-- root/root usr/share/man8/local.8 +-rw-r--r-- root/root usr/share/man8/master.8 +-rw-r--r-- root/root usr/share/man8/oqmgr.8 +-rw-r--r-- root/root usr/share/man8/pickup.8 +-rw-r--r-- root/root usr/share/man8/pipe.8 +-rw-r--r-- root/root usr/share/man8/postscreen.8 +-rw-r--r-- root/root usr/share/man8/proxymap.8 +-rw-r--r-- root/root usr/share/man8/qmgr.8 +-rw-r--r-- root/root usr/share/man8/qmqpd.8 +-rw-r--r-- root/root usr/share/man8/scache.8 +-rw-r--r-- root/root usr/share/man8/showq.8 +-rw-r--r-- root/root usr/share/man8/smtp.8 +-rw-r--r-- root/root usr/share/man8/smtpd.8 +-rw-r--r-- root/root usr/share/man8/spawn.8 +-rw-r--r-- root/root usr/share/man8/tlsmgr.8 +-rw-r--r-- root/root usr/share/man8/tlsproxy.8 +-rw-r--r-- root/root usr/share/man8/trace.8 +-rw-r--r-- root/root usr/share/man8/trivial-rewrite.8 +-rw-r--r-- root/root usr/share/man8/verify.8 +-rw-r--r-- root/root usr/share/man8/virtual.8 drwxr-xr-x root/root var/ drwxr-xr-x root/root var/lib/ drwx------ mail/root var/lib/postfix/ diff --git a/postfix/.signature b/postfix/.signature index cbd0082ea..6a24c183f 100644 --- a/postfix/.signature +++ b/postfix/.signature @@ -1,7 +1,7 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/QewHu6EE2mHQ10ShACoaVlXYh/4D6AxibgntfIDIcsj2GTBr518bpGVvdX74ntOf+wXIC3sxkmVqv+z2P8N+Ag= -SHA256 (Pkgfile) = 51640b1005b04285f25b5af0ab27c89e7d78f4236adf83619b187d39f3b95ffd -SHA256 (.footprint) = 761cd79e2a909b54492fb9a2576af2460fef10ecfa6f77da0fce6d6851fd734f +RWSE3ohX2g5d/YK+9cLiZhzsbVu2mw7o9TTwy0edCG3FupWesSlM2/zsYnB/94kxXwwG2TuupX1knbllN5tbsOPC2Tt6NajnJw8= +SHA256 (Pkgfile) = 336050b8ac9606101f609c79bb46908a00d9a8103ca68eeb2d3d1d61baf1463f +SHA256 (.footprint) = 4ff3c4706435a237dfda53a77af2650597236628917ab8034b1d405d8c269b73 SHA256 (postfix-2.11.10.tar.gz) = 4d9dca8a6f08adcb70fc02a00bde0f8057f062bc16dfa32acd6bbec2b0ffb9dd SHA256 (aliases) = b6de629cce43ed5dc06086c5742ebe85ccc7b59d085f0fec71d97e0e73a50271 SHA256 (postfix.rc) = 78059f334abcf0f1662107f5b9542fba26f489d2cb0ca05cdc61a816f4e96dc7 diff --git a/postfix/Pkgfile b/postfix/Pkgfile index 231485735..c850b4617 100644 --- a/postfix/Pkgfile +++ b/postfix/Pkgfile @@ -28,7 +28,7 @@ build() { mail_owner=mail \ setgid_group=postdrop \ config_directory=/etc/postfix \ - manpage_directory=/usr/man \ + manpage_directory=/usr/share \ daemon_directory=/usr/lib/postfix \ data_directory=/var/lib/postfix \ command_directory=/usr/sbin \ @@ -51,14 +51,7 @@ build() { ( cd $PKG/var/lib chown mail postfix ) - # - # Add .gz extensions to manpages (pkgmk compresses them) - # *LICENSE files will be removed - # - ( cd $PKG/usr/lib/postfix - cp postfix-files temp-files - grep -v LICENSE temp-files | sed 's#\(/man[0-9]/[a-zA-Z0-9_-]\+\.[0-9]\):#\1\.gz:#' > postfix-files - rm -f temp-files $PKG/etc/postfix/*LICENSE ) + rm -f $PKG/etc/postfix/*LICENSE install -D -m 00644 ../aliases $PKG/etc/postfix/aliases install -D -m 00755 ../postfix.rc $PKG/etc/rc.d/postfix