[Git][debian-gis-team/pgsql-ogr-fdw][master] 2 commits: Link to libbsd for strlcpy.

Christoph Berg (@myon) gitlab at salsa.debian.org
Tue Jun 16 12:16:46 BST 2026



Christoph Berg pushed to branch master at Debian GIS Project / pgsql-ogr-fdw


Commits:
79b33db6 by Christoph Berg at 2026-06-16T13:14:15+02:00
Link to libbsd for strlcpy.

- - - - -
eb5d820c by Christoph Berg at 2026-06-16T13:15:16+02:00
Upgrade debian/watch to version 5.

- - - - -


4 changed files:

- debian/changelog
- + debian/patches/link_libbsd.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+pgsql-ogr-fdw (1.1.8-2) unstable; urgency=medium
+
+  * Link to libbsd for strlcpy.
+  * Upgrade debian/watch to version 5.
+
+ -- Christoph Berg <myon at debian.org>  Tue, 16 Jun 2026 13:02:57 +0200
+
 pgsql-ogr-fdw (1.1.8-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/patches/link_libbsd.patch
=====================================
@@ -0,0 +1,17 @@
+Link to libbsd for strlcpy
+
+Required on bookworm and older. On newer dists, it works without, but according
+to the strlcpy documentation, linking with -lbsd is the correct thing to do
+there as well.
+
+--- a/Makefile
++++ b/Makefile
+@@ -70,7 +70,7 @@ endif
+ # PGXS environment
+
+ CFLAGS = $(GDAL_CFLAGS)
+-LIBS = $(GDAL_LIBS)
++LIBS = $(GDAL_LIBS) -lbsd
+
+ ogr_fdw_info$(X): ogr_fdw_info.o ogr_fdw_common.o stringbuffer.o
+ 	$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)


=====================================
debian/patches/series
=====================================
@@ -1,2 +1,3 @@
 install.patch
 hardingflags.patch
+link_libbsd.patch


=====================================
debian/watch
=====================================
@@ -1,7 +1,5 @@
-version=4
-opts=\
-dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/;s/\-/\./g,\
-filenamemangle=s/(?:.*?)?(?:rel|v|pgsql-ogr-fdw)?[\-\_]?(\d\S+)\.(tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))/pgsql-ogr-fdw-$1.$2/ \
-https://github.com/pramsey/pgsql-ogr-fdw/tags \
-(?:.*?/archive/(?:.*?/)?)?(?:rel|v|pgsql-ogr-fdw)?[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+Version: 5
+
+Template: Github
+Owner: pramsey
+Project: pgsql-ogr-fdw



View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/compare/8e6d1e8f14188bdcb7ccb690c531588bec1db776...eb5d820c0db7244a63136fec8e4cbf66d140f62c

-- 
View it on GitLab: https://salsa.debian.org/debian-gis-team/pgsql-ogr-fdw/-/compare/8e6d1e8f14188bdcb7ccb690c531588bec1db776...eb5d820c0db7244a63136fec8e4cbf66d140f62c
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20260616/13cf0fe1/attachment-0001.htm>


More information about the Pkg-grass-devel mailing list