1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

Update apsfilter port to 7.2.1

Important fixes for FreeBSD
Patches from files subdir went into this new release
General fixes:
       - remove apsfilter installation error when typing "make install"
          by using ln's -f (force) option to overwrite an existing symlink
          (just in case you overwrite another installation).

        - fix some HP driver mapping in MAPPING file

FreeBSD specific fixes:

        - make apspreview work again for FreeBSD (and possibly *BSD).
          BSD uses a sed implementation, that uses only "normal" regular
          expressions for backward compatibility not to break existing scripts.
          Linux (GNU sed) uses "modern REs". We use now awk which turns out
          to be more portable between different Unix flavours.
          We use awk instead of sed in other scripts as well (SETUP,
          aps2file).

        - import a patch from FreeBSD ports collection necessary for
          FreeBSD-current to use "user:group" syntax for chown. Old
          style "user.group" to change owner && group isn't supported
          anymore. Linux's implementation of chown (from GNU) groks
          new syntax.

Please note: hpijs 1.0 driver core dumps have been fixed by me some
	hours ago with the kind help of HP. So you can now savely
	use the new HPIJS driver with gs and apsfilter. Have fun.
This commit is contained in:
Andreas Klemm 2002-01-11 23:41:21 +00:00
parent d5ff811e03
commit 479c0dacb9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=52939
4 changed files with 2 additions and 60 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= apsfilter
PORTVERSION= 7.2.0
PORTVERSION= 7.2.1
CATEGORIES= print
MASTER_SITES= http://www.apsfilter.org/download/

View File

@ -1 +1 @@
MD5 (apsfilter/apsfilter-7.2.0.tar.bz2) = 03619244ef363f8e21bb951794c91696
MD5 (apsfilter/apsfilter-7.2.1.tar.bz2) = d69627bba951798405d389cc5324779b

View File

@ -1,11 +0,0 @@
--- Makefile.in.orig Fri Jan 11 09:07:33 2002
+++ Makefile.in Fri Jan 11 09:07:56 2002
@@ -16,7 +16,7 @@
MKDIR=mkdir -p
RM=rm -f
-LN=ln -s
+LN=ln -sf
INSTALL_PRG=install -s -m 555
INSTALL_SCRIPT=install -m 555

View File

@ -1,47 +0,0 @@
--- SETUP.in.orig Wed Jan 9 22:06:28 2002
+++ SETUP.in Fri Jan 11 09:00:37 2002
@@ -1369,7 +1369,7 @@
if [ "${SMB_PASSWD}${NCP_PASSWD}" ]; then
echo "read protect SETUP.cfg, since it contains password..."
chmod 600 SETUP.cfg
- chown root.$LP_GROUP SETUP.cfg
+ chown root:$LP_GROUP SETUP.cfg
fi
}
@@ -1483,7 +1483,7 @@
# after having set sane defaults, fix permissions
echo $n "changing permissions of $APS_BASEDIR... $c"
chmod 555 .
- chown -R $DIR_OWNER.$DIR_GROUP .
+ chown -R $DIR_OWNER:$DIR_GROUP .
find . -type d -print | xargs chmod 555
find . -type f -print | xargs chmod a+r,a-w
echo "done."
@@ -1711,7 +1711,7 @@
chmod 664 "$SPOOLDIR/lock"
# set sane permissions for spooldir
- [ `id -u` -eq 0 ] && chown -R $LP_OWNER.$LP_GROUP "$SPOOLDIR"
+ [ `id -u` -eq 0 ] && chown -R $LP_OWNER:$LP_GROUP "$SPOOLDIR"
if [ "$INTERFACE" = samba ]; then
echo " creating samba config file ..."
@@ -1737,7 +1737,7 @@
if [ "$SMB_PASSWD" ]; then
echo " read protect password information..."
chmod 600 smbclient.conf
- chown $LP_OWNER.$LP_GROUP smbclient.conf
+ chown $LP_OWNER:$LP_GROUP smbclient.conf
fi
elif [ "$INTERFACE" = atalk ]; then
echo " creating AppleTalk config file ..."
@@ -1755,7 +1755,7 @@
if [ "$NCP_PASSWD" ]; then
echo " read protect password information..."
chmod 600 netware.conf
- chown $LP_OWNER.$LP_GROUP netware.conf
+ chown $LP_OWNER:$LP_GROUP netware.conf
fi
fi