diff options
author | Colin Watson <cjwatson@debian.org> | 2005-07-03 14:06:17 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2005-07-03 14:06:17 +0000 |
commit | 2ea0ed9ad0cef7da4e105987963027e249a8f528 (patch) | |
tree | a31056330eb77d66a5bd545c94636813011a5ce5 | |
parent | 048d592a22b6420329640f35856534fd81e8faf8 (diff) |
Disable btmp logging, since Debian's /var/log/btmp has inappropriate
permissions (closes: #314956).
-rw-r--r-- | debian/changelog | 2 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 6 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 97794c9e4..94334d2c6 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -5,6 +5,8 @@ openssh (1:4.1p1-5) UNRELEASED; urgency=low | |||
5 | * Make /usr/share/doc/openssh-server and /usr/share/doc/ssh symlinks to | 5 | * Make /usr/share/doc/openssh-server and /usr/share/doc/ssh symlinks to |
6 | /usr/share/doc/openssh-client (closes: #314745). | 6 | /usr/share/doc/openssh-client (closes: #314745). |
7 | * Ship README.dns (closes: #284874). | 7 | * Ship README.dns (closes: #284874). |
8 | * Disable btmp logging, since Debian's /var/log/btmp has inappropriate | ||
9 | permissions (closes: #314956). | ||
8 | * debconf template translations: | 10 | * debconf template translations: |
9 | - Update Brazilian Portuguese (thanks, André Luís Lopes; | 11 | - Update Brazilian Portuguese (thanks, André Luís Lopes; |
10 | closes: #315477). | 12 | closes: #315477). |
diff --git a/debian/rules b/debian/rules index 9eebacfb2..fad195dac 100755 --- a/debian/rules +++ b/debian/rules | |||
@@ -77,6 +77,8 @@ ifeq ($(DEB_HOST_ARCH_OS),linux) | |||
77 | # Some 2.2 kernels have trouble with setres[ug]id() (bug #239999). | 77 | # Some 2.2 kernels have trouble with setres[ug]id() (bug #239999). |
78 | perl -pi -e 's/.*#undef (BROKEN_SETRES[UG]ID).*/#define $$1 1/' build-deb/config.h | 78 | perl -pi -e 's/.*#undef (BROKEN_SETRES[UG]ID).*/#define $$1 1/' build-deb/config.h |
79 | endif | 79 | endif |
80 | # Debian's /var/log/btmp has inappropriate permissions. | ||
81 | perl -pi -e 's,.*#define USE_BTMP .*,/* #undef USE_BTMP */,' build-deb/config.h | ||
80 | 82 | ||
81 | $(MAKE) -C build-deb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' CFLAGS='$(OPTFLAGS) -g -Wall -DLOGIN_PROGRAM=\"/bin/login\" -DLOGIN_NO_ENDOPT -DSSHD_PAM_SERVICE=\"ssh\" -DSSH_EXTRAVERSION="\" $(SSH_EXTRAVERSION)\""' | 83 | $(MAKE) -C build-deb -j 2 ASKPASS_PROGRAM='/usr/bin/ssh-askpass' CFLAGS='$(OPTFLAGS) -g -Wall -DLOGIN_PROGRAM=\"/bin/login\" -DLOGIN_NO_ENDOPT -DSSHD_PAM_SERVICE=\"ssh\" -DSSH_EXTRAVERSION="\" $(SSH_EXTRAVERSION)\""' |
82 | # Support building on Debian 3.0 (with GNOME 1.4) and later. | 84 | # Support building on Debian 3.0 (with GNOME 1.4) and later. |
@@ -93,6 +95,8 @@ build-udeb-stamp: | |||
93 | dh_testdir | 95 | dh_testdir |
94 | mkdir -p build-udeb | 96 | mkdir -p build-udeb |
95 | cd build-udeb && $(FORCE_LIBS) ../configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib/openssh --without-xauth --with-default-path=/usr/local/bin:/bin:/usr/bin --with-superuser-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin --with-4in6 --with-privsep-path=/var/run/sshd --without-rand-helper | 97 | cd build-udeb && $(FORCE_LIBS) ../configure --prefix=/usr --sysconfdir=/etc/ssh --libexecdir=/usr/lib/openssh --without-xauth --with-default-path=/usr/local/bin:/bin:/usr/bin --with-superuser-path=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin --with-4in6 --with-privsep-path=/var/run/sshd --without-rand-helper |
98 | # Debian's /var/log/btmp has inappropriate permissions. | ||
99 | perl -pi -e 's,.*#define USE_BTMP .*,/* #undef USE_BTMP */,' build-deb/config.h | ||
96 | # Avoid libnsl linkage. Ugh. | 100 | # Avoid libnsl linkage. Ugh. |
97 | perl -pi -e 's/ +-lnsl//' build-udeb/config.status | 101 | perl -pi -e 's/ +-lnsl//' build-udeb/config.status |
98 | cd build-udeb && ./config.status | 102 | cd build-udeb && ./config.status |