diff for ports

From: Stefan Herrmann <sh(at)seicom.net>
Date: Mon, 22 Jun 1998 17:39:42 +0200

Nachdem Andreas mir das Erstellen des ports für den apache-php (v1.3.0)
schmackhaft gemacht hat, habe ich damit mal angefangen. :-)

Ich habe eine Frage zu den diffs. Das "diff" auf meiner 2.2.5 Kiste produziert
andere Ausgaben als die des apache-php von Andreas.

Beispiel aus apache-php port von Andreas:

***************
*** 12,18 ****
  # documents. By default, all requests are taken from this directory, but
  # symbolic links and aliases may be used to point to other locations.

! DocumentRoot /usr/local/etc/httpd/htdocs

  # UserDir: The name of the directory which is appended onto a user's home
  # directory if a ~user request is recieved.
--- 12,18 ----
  # documents. By default, all requests are taken from this directory, but
  # symbolic links and aliases may be used to point to other locations.

! DocumentRoot /usr/local/www/data

  # UserDir: The name of the directory which is appended onto a user's home
  # directory if a ~user request is recieved.

Beispiel eines diffs von mir:

10c10
< PKGNAME= apache-1.3.0

---
> PKGNAME=        apache-1.3.0-PHP3-authmysql
25d24
<                --disable-rule=STATUS \
29c28,31
<                --disable-module=auth_dbm
---
>                --disable-module=auth_dbm \
>                  --activate-module=src/modules/php3/libphp3.a \
>                  --add-module=/opt/ports/apache130-php3/mod_auth_mysql-2.11/mod_auth_mysql.c \
>                  --enable-shared=auth_mysql
31a34
> EXTRA_LIBS='-L/usr/local/lib/mysql -lmysqlclient -lm -L/usr/local/gd/lib -lgd' \
43c46
<               chmod 751 ${PREFIX}/etc/rc.d/apache.sh; \
---
>               chmod 740 ${PREFIX}/etc/rc.d/apache.sh; \
Welches diff wurde im ersten Beispiel denn verwendet ? Welches sollte verwendet
werden ? Ich finde das erste Beispiel viel besser lesbar, daher würde ich das
zugehörige diff bevorzugen.
Ciao
Stefan
--
--- Communications powered by FreeBSD ---
>> WebAffairs InternetDienstleistungen <<
        http://www.webaffairs.de/
Received on Mon 22 Jun 1998 - 17:42:37 CEST

search this site